When did you drive exactly over a red traffic light?

Hey, since I’m still in the probation period, I wanted to know when to drive exactly over red. So if I get hit at 50 and the traffic light switches right before (5 meters) to orange, can I just go through or do I have to pull through an emergency brake? What if I’m 10m before the traffic light and it jumps to orange? Are there some tips, such as if it’s nicer to green, it can switch etc. lg