Thanks for your question on Healthcare Magic.
I can understand your concern.
By your history and description, possibility of sleep disturbances is more in your case.
You are having bad dreams in night and related mild headache.
Dreams are nothing but our visual memories during the day time.
In my opinion, you are having stressful life which gives you such bad dreams.
So better to
consult psychiatrist and get done
counselling sessions.
Try to identify stressor in your life and start working on it's solution.
You may need anxiolytic drugs too.
Counselling along with anxiolytic drugs will definitely give you sound sleep without any bad dreams.
Don't worry, you will be alright.
Hope I have solved your query. I will be happy to help you further. Wish you good health. Thanks.