Indomethacin is a nonsteroidal anti-inflammatory drug (NSAID) that is used to treat the symptoms of long-term musculoskeletal pain disorders and to cause preterm babies' hemodynamically critical patent ductus arteriosus to close.