Exercising after birth?

When is it safe to exercise after birth?