No. You should restrict getting involved in sexual intercourse with your partner when diagnosed with PID and while undergoing treatment for it. While you are having PID, your body becomes prone to several infections. These can lead to infertility in the coming days. Moreover, having sex at this sensitive stage can result in making your partner affected by the disease.