My head hurts like hell, is ibuprofen safe? [pinkiller general?]

Took one regular strength Ibuprofen yesterday for a headache against my better judgment. Muscle symptoms and middle insomnia/low sleep duration came back.

Here it goes again.

Tylenol doesn’t seem to do this to me.