In general, lidocaine can be used to help to reduce pain and swelling associated with boils. Lidocaine is the active ingredient in many over-the-counter medications that are sold as topical solutions for use on skin lesions such as cold sores or genital herpes outbreaks.