Dear in pregnancy, it is not advisable to take any medicine without consulting doctor,Headache in pregnancy is quite common,it is due to increase of harmone and volume of blood,it can also occurs due to dehydration, sleep,stress ,lack of nutrition, follow these stepsto overcome head ache..
Have a nutritious diet,which contains all nutrients needed for baby's development
Have 5-6small meals,it will help you from starving
Sleep as well as possible, poor sleep will also lead to head ache
Keep your mind relaxed,hear good songs
Keep yourself engaged with any activity,so that you won't go to mood swings
Practice breathing techniques,will be greater benefit for reducing headache
If symptoms persist, please consult doctor