28 weeks and came down with a cold

Allie
28+3 days and I have come down with a cold along with fever. I called my doctor and she told me I can take theraflu-day one or robitussin and tylinol extra strength. I'm a FTM and I'm not sure if this is okay to take. Please advice. Thanks