Blow job

So how do I know when to stop giving him head? Also what do I do with his dick after? Do I just tuck his dick back into his pants or...?