Sex after c-section

How long did you wait to have sex after a c-section? 6 weeks or when you felt better?