One common way women get urinary tract infections is by having sex. But that doesn't mean you have to banish sex from your life to prevent painful infections. For some women, a urinary tract infection UTI can also be a result. Taking proper precautions can minimize your odds. The urethra is the tube through which urine exits the body from the bladder. In women, this tube is short, making it quicker and easier for bacteria to enter the opening and infiltrate the bladder.

Check if it's a urinary tract infection (UTI)
Treating urinary tract infections (UTIs)
A urinary tract infection UTI can be painful enough to cause a temporary loss of interest in sex. Once the infection starts to clear up, however, some people wonder if it is safe to have sex again. Doctors usually recommend avoiding sex until the infection has cleared up completely. This is because having sex may irritate the urinary tract and can push bacteria into the urethra, worsening the infection. This article looks at the safety and risks of sex when a person has a UTI, including whether the infection is contagious and tips for keeping safe. A UTI is a bacterial infection. They happen when bacteria — often from the anus, dirty hands, or skin — get into the urethra and travel to the bladder or other parts of the urinary tract. UTIs are not sexually transmitted and are not contagious. In most cases, the sexual partners of a person with a UTI will not need treatment. When someone has a UTI, having sex can cause pain and may irritate a sensitive urethra.
Antibiotics Didn’t Stop The UTIs After Sex
UTIs after sex are clearly very common, yet for some reason, people tend not to talk about it much. I distinctly remember my first UTI. It was an isolated incident that happened long before my year of hell that saw me through nine or ten. I like to think of it as the time when I was gloriously unaware that UTIs after sex were really a thing. I had a boyfriend who worked nights so finding moments to shag could be difficult. On this occasion we had sex three times at intervals during the night and I was basically asleep — that type of dreamy, warm copulation that is closely followed by more slumber. Needless to say, I did not bother going to the toilet. No Sir, it was straight back to sleep for me.
The burning sensation. The lower-belly pain. The cloudy, odorous, or blood-tinged urine. All of these things can creep up a day or two after having sex and are the telltale signs of a urinary tract infection. UTIs are familiar to many people — about million people worldwide every year, in fact, making them one of the most common bacterial infections. However, some of the common advice we hear about them, including making sure to pee after sex, isn't all it's cracked up to be.