What’s safe to use?

I’m 5 weeks pregnant having really bad headaches, back and neck pain. What can I take that won’t harm the baby?