pregnancy and meds

Sara
I'm 8 weeks pregnant and I have this terrible headache and I want to take Tylenol it's midnight so I can't call my doctor so I'm freaking out on whether it's okay or not to take