When to pull out...

Is the guy supposed to pull out before he's soft after he cums? Does it matter? What if he doesn't?