Terrible, obnoxious cough

My kids brought me a gift from school of being sick. They recovered after 24 hours or so but left me with a terrible cough that hurts my pelvis and lower belly so bad when I cough. Remedies? Will this affect baby at all?

Currently 36 weeks, scheduled induction at 38.