can i get uti ?

if i masturbate only outside the clit not inside vagina can i get a uti ?