What’s safe to take for a congestion pressure migraine / headache while pregnant ?

The pressure gets so bad it triggers nausea and anxiety attack so would like to try and take something