uncomfortable but not painful urination

i woke up this morning with a huge urge to pee and it was so uncomfortable when i did but not painful. then a few hours later it happened again. could this be a uti or something greater? it doesn’t burn