Sex after c-section

When were you cleared to have sex after a c-section? Or when did you resume sex after a c-section? It’s been 3 weeks pp for this first-time mom and my husband wants to do it now but I was told to wait 6 weeks. Halfway there, whoo!