It does appear as though it is a UTI. The shaving cream I'm sure got into your urethra which has then caused the infection. You can do a simple urine test at your doctors office to confirm this, if left untreated you could cause further damage.
Hope this helps, If you need anything else please feel free to ask. If you found this helpful don’t forget to click the *accept* button!
