Indeed, hell, hit a high dose of medication will make your head lightly back.
But did you know that the consumption of continuous medication pain killers, like aspirin, paracetamol, or ibuprofen risk of damage to the liver?
It is better if you first make sure the causes of these headaches. Maybe the attack was actually caused by food or an unbalanced diet. Or eye disorder caused by prolonged staring at computer screens at work.
Because, it's useless you are constantly taking the drug, if bad habits like this are not addressed.