Exercise after baby?

Do you know when after you have the baby that it's safe to start working out? Also, is it safe to waist train right after the baby?