6 week PP wait??

Why do you have to wait 6 weeks after birth to have sex? What if you stopped bleeding already??? If you do it before 6 weeks what will happen???