That is a not fun part of pregnancy. A similar thing happened to me last week. Normally I would reach for the cold and flu tablets but since I was unable to I stayed home from work instead and slept. It helped a lot.

In the abscence of that, I had advice to drink lots of water, eat lots of veggies, and rest.

Hope it helps.