Procainamide is a class Ia antiarrhythmic medication used to treat cardiac arrhythmias. It works by blocking sodium channels in the heart, which helps to regulate the heart's electrical activity and prevent abnormal rhythms. Procainamide is particularly relevant in the context of autoimmune disorders, as it can sometimes trigger the development of autoantibodies and lead to drug-induced lupus erythematosus.