Is it ok?

I'm 2 weeks PP and I just had sex with husband I'm only spotting now it didn't hurt and I was even able to "finish" is it ok or could I of done something wrong for not waiting the six weeks??