Peeing does not guarantee you won’t get an UTI. I highly doubt it’s to do with squirting, but keep an eye on it. If you get 3 or more UTI’s in a year you should see a doctor as it would be a recurrent UTI. Make sure to finish your antibiotics and do not have sex when you have an infection as your partner can pass the bacteria back.