Bad headache early pregnancy

I barely found out I was pregnant and I am dying with this headache what could I take is there anything to avoid ?