Exercise is not recommended immediately after heart surgery. The goal in the first two weeks is to walk indoors for 10 minutes 2-3 times per day and do light stretching and breathing exercises as prescribed by the doctor. By two weeks, pain and discomfort should be reduced significantly allowing the body to naturally determine how much exercise can be done.