Oooh man, I feel her pain. Have you gotten Azo? It's recommended by doctors and has cleared up both of the UTI's I've ever gotten in a snap, even one really bad one. I wish I'd known about it sooner!
Make sure you never go from anal sex to vaginal sex or anything like that. UTI's are caused by bacteria being pushed or trapped in the urethra. Peeing after sex does help prevent them from occurring, so try to make that a regular practice for the two of you as much as it sucks. Also, UTI's can be caused by wearing non-cotton underwear (lots of thongs are made out of some kind of lycra/spandex/polyester material), wearing too tight or damp clothes (not letting your clothes dry all the way in the dryer), not changing your underwear/pads/tampons often enough, and even using scented feminine or bath products.
Get some regular Azo meds (no prescription needed, you can get them at walgreens or walmart), stay awwaaay from sweetened cranberry juice or sodas, and take as many precautions as you can. UTIs are hoorrrible, and reoccuring ones and those that go for long periods of time untreated can cause scarring. Good job for being so concerned about your girlfriend. WHen my husband and I first began having sex while we were dating, I got UTI's too. It's okay