Lidocaine is a drug used for the treatment of irregular heartbeats. It is given by injection. Recent studies have shown that lidocaine is also effective for the treatment dystonia. Mexiletine is a drug similar to lidocaine used for irregular heartbeats that can be taken by mouth.