Cramping when i pee..

I have cramps sometimes when I pee. I am almost 22 weeks pregnant. I haven’t noticed any nasty discharge, I haven’t noticed if my pee stinks or not. I am going to call my doctor in the morning. But has anyone else experienced this?