do I have a UTI?

I feel the urge to pee but nothing comes out and there is not pain or burning. I've been in the bathroom all morning because walking is not comfortable with the feeling of peeing. Is this a urinary tract infection?