Infection

So if i didn't have sex for a little over a year and then had sex the other day is it normal to get a UTI??