Take a look at Managing Migraines During Pregnancy?
This is a very complex question. You didn't say whether you're asking about acute medications to take when you have a headache or preventive medications for frequent headaches. In either case, options are limited. Most medications are FDA pregnancy category C, which means one of two things:
Animal studies have shown an adverse effect and there are no adequate and well-controlled studies in pregnant women.
No animal studies have been conducted and there are no adequate and well-controlled studies in pregnant women.
What's safe for one person during pregnancy may not be safe for another because of other medications they're taking, issues with their pregnancy, or other medical issues. The only person who can answer this safely for you is your doctor.
Congratulations and good luck with your pregnancy,
We hope you find this general health information helpful. Please note however, that this Q&A is meant to support not replace the professional medical advice you receive from your doctor. No information in the Answers above is intended to diagnose or treat any condition. The views expressed in the Answers above belong to the individuals who posted them and do not necessarily reflect the views of Remedy Health Media. Remedy Health Media does not review or edit content posted by our community members, but reserves the right to remove any material it deems inappropriate.