Why "if" is used in here? What does it refer to?
Native speaker’s answer
Rebecca
"If" here means "when", and refers to "I was going somewhere". He is saying that after he realized he could run ("that day on"), when he went somewhere, he ran to that location.