One initial treatment is a cardioversion, which involves using a defibrillator to deliver an electric shock to the heart to restore rhythm. It’s often successful, but sometimes only temporarily.