It is important for you to see your doctor for an assessment. This is affecting your life and you are young so I would recommend you get help with this.
You could have a weak pelvic floor or a bladder issue. It seems from the length of time you have had this that it is very unlikely to go in its own, so take control and a deep breath and make that appointment. Write down your questions and take someone with you for support if you can
Hello,
This is called urinary incontinence or loss of bladder control. Symptoms can range from mild leaking to uncontrollable wetting. It can happen to anyone, but it becomes more common with age. Most bladder control problems happen when muscles are too weak or too active. If the muscles that keep your bladder closed are weak, you may have accidents when you sneeze, laugh or lift a heavy object. This is stress incontinence. If bladder muscles become too active, you may feel a strong urge to go to the bathroom when you have little urine in your bladder. This is urge incontinence or overactive bladder. There are other causes of incontinence, such as nerve damage. Treatment depends on the type of problem you have and what best fits your lifestyle. It may include simple exercises, medicines, special devices or procedures prescribed by your doctor, or surgery.
It is very difficult to precisely confirm a diagnosis without examination and investigations and the answer is based on the medical information provided. For exact diagnosis, you are requested to consult your doctor. I sincerely hope that helps. Take care and please do keep me posted on how you are doing.