Your doctor may prescribe pain medication to ease any discomfort associated with the procedure.