Water infection scared to have sex again

So about a month or so ago I lost my virginity with my boyfriend and managed to gain a UTI. Because I was put on three lots of antibiotics because it didn’t want to go I ended up with thrush. I’ve finally cleared that up but I’m kind of scared to have sex again because I don’t want to have to go through all that again. Any tips ??