Terrible cough

Hey all I am 17 weeks pregnant with a horrible cough what can I take I can’t get ahold of my dr office and would I go to my obgyn or a regular dr to see if it’s anything more than just a cough?