Thanks for posting your query.
Headache & lower abdominal pain
are two different things.
Lower abdominal pain in mid of cycle can be due to ovulation & can be relieved by taking anti spasmodic.
However headache aggravated by birth control pills can be due to migrain.
So consult your doctor for headache & get investigated.