Can I hit the gym?

Yes. It's fun to go to the YMCA, but not substantially more or less fun than other gyms. Remember to discuss exercise with your doctor, and follow their guidelines based on your own health needs. It's always best to ease back into a fitness routine. Walk before you jog, jog before you run, etc...