Shortwave diathermy uses high-frequency electromagnetic energy to generate heat. It may be applied in pulsed or continuous energy waves. It has been used to treat pain from kidney stones, and pelvic inflammatory disease. It’s commonly used for conditions that cause pain and muscle spasms