male anatomy

When does pre-cum come out of a guy's penis?

Love11 asks:

When does pre-cum come out of a guy's penis? Does it come out when he gets an erection or does it come out when he is actually having sex? Does it depend on the guy?