HI, thanks for using healthcare magic
can last up to 6 weeks in a viral illness. Understandably , if you have pelvic floor
weakness the cough could then lead to episodes of incontinence
which would be disturbing to anyone.
To reduce the coughing ,if it is still significant you can consider using a cough suppressant which should be available at your local pharmacy. In addition some aspects of persistent viral coughing may be related to post nasal dripping of mucus so if you can obtain a cough suppressant combined with a decongestant that would be good.
If it still persists beyond the 6 weeks you may want to visit your doctor for an evaluation.
I hope this helps