why do you have to wait 6 weeks before having sex after having a baby?

is it still 6 weeks if you had no tears and you've stopped bleeding after 2? no pain or anything else