I usually run my finger under the string (between the fret board and string) and if a bunch of gray oxidized stuff comes off onto my finger tip I change it.
There may be better ways to time it, but I notice they always sound brighter with this timing so I keep doing it.