After a first-trimester miscarriage, your body will return to normal fairly quickly. There is no reason why you can't return to the gym or do your normal exercises unless your doctor has advised against it. That being said, if you had a late or full-term pregnancy loss, your doctor may advise waiting a few weeks.