Medicine

Sabrina • I'm 24 years old I have an amazing fiance that i wouldnt kno what to do without. Then i have a 4 year old daughter she's is the best ever with her temper haha. And I'm due Feb 6th 16 with my son :)
Can anyone help me.. i went to walmart tonight to get medicine for a cold I'm nonstop coughing and bringing up phlegm the pharmacy couldn't help me much they said they think I can take tussin mucus and chest congestion is this safe for me and the baby