How long after delivery can I go to the gym?

Depends. If you had an uncomplicated vaginal delivery and were not given any restrictions by your doctor you can go the gym whenever you like.