If it's the standard square wire TRS I would change it between 5k and 7.5k rounds if you do any regular dry fire. The lighter weight round wire springs seem to be good for 7.5k to 10k.
Recoil spring on a hammer fired H&K 9mm pistol is a 15k to 20k round item. All the other springs (main, flat, elbow) are 20k items.