Dcc problem

Just recently a number of my dcc control locos have stopped working

I have reset them on the service track but when I put them on them on the main track they don’t work.

any suggestions please .