Peeing after sex

How quickly should you pee after he finishes? Like get up immediately, wait til it’s all over? Til you come?