Haunted dream meaning

If you are haunted in a dream, then such dream represents the things you have made in the past and now they are following you. Maybe you feel you did something not exactly the way it supposed to be, therefore now you feel some kind of guilt.