To evaluate and compare the efficacy of vaginal misoprostol and a rectal nonsteroidal anti-inflammatory drug ( NSAID ) on pain relief during Pipelle endometrial biopsies in a placebo-controlled randomized study .