Mayo Clinic reports:
Physical activity. No longer is bed rest recommended if you have serious heart problems. Cardiac rehabilitation improves your cardiovascular fitness through walking, cycling, rowing, or even jogging and other endurance activities. You may also do strength training to increase your muscular fitness. Don't worry if you've never exercised before. Your cardiac rehabilitation team will make sure the program moves at a comfortable pace and one that's safe for you, but in general you should look at exercising three to five times a week. You'll be taught proper exercise techniques, such as warming up and stretching before beginning your exercise.