Pelvic inflammatory disease (PID) can sometimes lead to serious and long-term problems, particularly if the condition isn't treated with antibiotics quickly.
But most women with PID who complete their course of antibiotics have no long-term problems.
Repeated episodes of PID
Some women experience repeated episodes of PID. This is known as recurrent pelvic inflammatory disease.
The condition can return if the initial infection isn't entirely cleared.
This is often because the course of antibiotics wasn't completed or because a sexual partner wasn't tested and treated.
If an episode of PID damages the womb or fallopian tubes, it can become easier for bacteria to infect these areas in the future, making it more likely that you'll develop the condition again.
Repeated episodes of PID are associated with an increased risk of infertility.
PID can sometimes cause collections of infected fluid called abscesses to develop, most commonly in the fallopian tubes and ovaries.
Abscesses may be treated with antibiotics, but sometimes laparoscopic surgery (keyhole surgery) may be needed to drain the fluid away.
The fluid can also sometimes be drained using a needle that's guided into place using an ultrasound scan.
Long-term pelvic pain
Some women with PID develop long-term (chronic) pain around their pelvis and lower abdomen, which can be difficult to live with and lead to further problems, such as depression and difficulty sleeping (insomnia).
If you develop chronic pelvic pain, you may be given painkillers to help control your symptoms.
Tests to determine the cause may be carried out.
If painkillers don't control your pain, you may be referred to a pain management team or a specialist pelvic pain clinic.
An ectopic pregnancy is when a fertilised egg implants itself outside of the womb, usually in one of the fallopian tubes.
If PID infects the fallopian tubes, it can scar the lining of the tubes, making it more difficult for eggs to pass through.
If a fertilised egg gets stuck and begins to grow inside the tube, it can cause the tube to burst, which can sometimes lead to severe and life-threatening internal bleeding.
If you're diagnosed with an ectopic pregnancy, you may be given medication to stop the egg growing or have surgery to remove it.
As well as increasing your risk of having an ectopic pregnancy, scarring or abscesses in the fallopian tubes can make it difficult for you to get pregnant if eggs can't pass easily into the womb.
It's estimated about 1 in 10 women with PID become infertile as a result of the condition, with the highest risk for women who delayed treatment or had repeated episodes of PID.
But a long-term study in the US showed that women who'd been successfully treated for PID had the same pregnancy rates as the rest of the population.
Blocked or damaged fallopian tubes can sometimes be treated with surgery.
If this isn't possible and you want to have children, you may want to consider an assisted conception technique, such as IVF.
IVF involves surgically removing eggs from a woman's ovaries and fertilising them with sperm in a laboratory, before planting the fertilised eggs into the woman's womb.
This technique can help you get pregnant if you can't have children naturally. But the success rate is often low, depending on your age and other factors.