Hello, and I hope I can help you today.
It is good that you sought care from a chest specialist and took antibiotics. That means your
cough is not due to anything dangerous, like TB or
pneumonia.
So two possibilities remain, either that you just have a chest
cold (virus), or the antibiotics you were taking for 5 days was not long enough. If you are coughing up mucus that is yellow or green, you may need a longer course of antibiotics.
I would discuss whether or not you need more antibiotics with your doctor, but some medicines you can buy that can help your cough are available over- the counter.
Cough drops are all safe while pregnant.
Dextromethorphan is the active ingredient in cough suppressants. You can safely take cough syrup containing this ingredient in short-term use. This medicine is frequently combined with others like Guaifenasin, which are also safe.
Also it is important to stay away from smoke and dust, and to drink lots of hot liquids.
I hope this information was helpful and that you feel better soon.
Best wishes, Dr. Brown