Sex after baby

When is it safe to have sex after having a baby