The bacteria that leads to PID can be contracted through sexual intercourse, so once sexually active, your partner needs to get treated too.