Dealing with the headachs

I am 15 so i am still in high school and i get spitting headachs in class, i have pain killers in the front office but i cant just get up and leave in the middle of class, does anyone have any way of limiting or extrminating the migraines?

Mandy, yea it is my decision, i dont wanna miss class and if i leave class the teacher looks at me weird like i really dont have to leave class “its just a head ach”