The only real way to know is to see your doctor, you can tell your mom you think you have an urinary tract infection then talk to the doctor without your mom present about your concerns. There are privacy laws to protect you.
Are under the age of 18? There are some things doctors have to keep between him and the patient.
It's possible you have IC (Interstitial Cystitis) this causes urgency to urinate. You might want to do a search onilne about this.
I'm sorry to hear your boyfriend cheated on you. Is he showing any signs of an STD?