Pregnancy and medicine

I'm about 4 weeks pregnant  according to glow and haven't been able to get to the doctors yet. I just found out yesterday. But I'm having major headaches and was wondering if I was able to take Tylenol or anything for them.