Cold/cough 24 weeks pregnant

Lindsey
Hey ladies 
I'm 24 weeks pregnant and have been down and out with a horrible and cough. Feel like I'm coughing my baby out everytime. Any ideas of what I can take safely?