Thanks for your query.Based on the facts that you have posted it appears that you have s
what is called as Stress Incontinence
Most likely this is due to weakness of the pelvic floor
Please consult qualified Urologist
for clinical evaluation and following tests
1) Urodynaemic study of the bladder .
2) Cystocoscopic examination and Bony's test to asses the grade of SUI.
If needed you may have to undergo surgery of sling surgery.
In the mean while you can have Kegel Exercise to strengthen your pelvic floor muscles.