Peeing pants

I currently am 30 weeks pregnant with a cough and recovering from pneumonia. I pee my pants about 3 times a day - anyone have this happen to them? Has me stressed!