How long you need to take antibiotics depends on your infection and the type of antibiotic used. Although you may feel better before you have taken all of your pills, don't stop taking them. If you stop too soon, your infection may return.
Treatment usually takes 14 days. But the number of days you continue to take antibiotics depends on your infection and the type of antibiotic medicine. You may also be able to use a nonsteroidal anti-inflammatory drug (NSAID) to relieve PID pain or discomfort.
It sometimes takes more than one course of medicine to cure PID. Sometimes bacteria can become resistant to an antibiotic. This means that the antibiotic is no longer effective against the bacteria. In this case, you'll need to try another type of antibiotic.