Do kegel exercise which is an exercise to strengthen the pelvic floor muscles.
How to do Kegel exercises
To get started:
Find the right muscles. To identify your pelvic floor muscles, stop urination in midstream. If you succeed, you've got the right muscles. Once you've identified your pelvic floor muscles you can do the exercises in any position, although you might find it easiest to do them lying down at first.
Perfect your technique. Tighten your pelvic floor muscles, hold the contraction for five seconds, and then relax for five seconds. Try it four or five times in a row. Work up to keeping the muscles contracted for 10 seconds at a time, relaxing for 10 seconds between contractions.
Maintain your focus. For best results, focus on tightening only your pelvic floor muscles. Be careful not to flex the muscles in your abdomen, thighs or buttocks. Avoid holding your breath. Instead, breathe freely during the exercises.
Repeat three times a day. Aim for at least three sets of 10 repetitions a day.