I don't usually take anything. I try to avoid medicine when I can and try to figure out what's at the root of the pain and deal with that issue.
I know my body pretty well and for me pain and headaches are usually only caused by 2 things. So if I have a headache I usually try drinking water first to see if that helps since dehydration causes headaches often, if that doesn't work I will try and work some of the knots out of my neck. 99% of the time, it's one of those two issues causing the pain, so I find it easier to deal with the problem rather than masking it with a medicine and letting the underlying problem get worse.
I don't even think I have any pain medicines in my house actually.
I know when I had my wisdom teeth pulled and I had to take prescription pain medicine (vicodin maybe? I don't remember) I wasn't even sure if it did anything for the pain because every time I took one I'd pass out for like 8 hours, so for me it was more of a sleeping pill than anything. I think I must metabolize medications really slowly because they really affect me a lot.