A dream with a ghost represents your hopes, old habits or unresolved memories. It implies that there is a need for you to move on from these old ways, or that there is some in-congruence in your life.
If you receive a message from a ghost then you should pay attention to what it is showing you as these may be messages from your spirit guide or higher self.