It is extremely important that the gynecologist is aware of the severity of the pain. He or she may recommend over-the-counter pain medications, such as aspirin or ibuprofen. Sometimes, stronger medications can be prescribed for days with very intense pain.