Desperately need help :(

So I am currently 24 weeks pregnant and sick with a sinus infection that traveled to my chest and constantly coughing up green mucus. I am returning to the doctors today but what should I expect? Do you know what medicine would get rid of this infection that is safe during pregnancy? I also heard zpack might be prescribed to me and also heard mucinex is okay to take. Im in desperate need of advice on how to get better because this is really kicking my ass and im coughing like crazy. Any input would be appreciated. What if I don’t get better? 😔😟