You must ask your treating doctor for permission before resuming Gym. Most cardiac exercises can be started 3 months after surgery. Bench press & Shoulder press are not allowed for a significant period which varies from patient to patient.