After some surgeries, such as open heart surgery, you may feel fully recovered but you are at risk when you exert yourself too much. If your doctor cautions you against strenuous activity, such as running, brisk aerobic activity or shoveling snow, you should consider that a caution regarding having sex.