I cracked a rib from coughing. I had bronchitis, but wasn't pregnant so I was able to take a liquid pain med that had cough meds iin it too. I just remember mostly there wasn't much you could do about it. Usually for cracked ribs they wrap you in bandage so if you cough you're all squeezed together but you can't do that if your sick because if you can't cough an infection might start in your chest. Plus I doubt you could wrap a pregant women anyway, sick or not.
So not much advice just a hug (not a hard one) because I've been there and it hurts. Hope you feel better.
with love, bailey...