Sex after birth question??

Tanzia
How long after giving birth did u wait to have sex? My ob told me I'm good to have sex after the bleeding to stop. My son is now almost 3 weeks old and I'm still bleeding. With my older two boys I only bled for a week. But I did get my tubes tied the same day I had my son. Its the least of my worries right now just curious.