sex after baby?

how long till u can have sex aftee haveing a baby