Whilst it is possible to get a UTI after sex, and being sexually active can increase the likelihood of developing one, a UTI is not considered a sexually transmitted infection (STI).