Might have been ordinary hypnopompic imagery -- that's what it's called when a dream image hangs over into the early stages of waking -- or it might have been something nonphysical. As for what you can do about it, well, do you practice a daily banishing ritual?
Re: Q