Any of the following could lead to a problem in the electrical makeup of the heart:  heart attacks valve problems valve replacement surgery.