I am pregnant 4 months I feel good and energy is back... But I do have headaches quite often...What can I do?

You need evaluation. The first thing you want to do is see a neurologist to be evaluated for the headaches to make sure they are not be caused by anything serious like certain conditions in your brain or eyes or neck. Once they have ruled that out then there are some medicine and non medicine things you can try to help alleviate the problem.