Homeopathic medicines are used to treat parasitic infections by stimulating the body's natural healing responses.