UTI-???

I was just recently at the doctor and figured out I have a UTI (first time ever having it). They told me no sex for a week but can I still please myself?