Headache while pregnant

Nancy

So I have a headache for a few hours already and I used an ice pack but it hasn’t helped I didn’t want to take medicine but it hurts , can I take this type of Tylenol for the headache ?