Coughing and peeing 😳

Helppp! I have a horrible cold and every time I sneeze and cough I pee a little lol. Is there anything to help( btw I went to the Dr. He prescribed medication for it )