How can I treat scabs on my testicle?

Vaseline. The real question is why are you getting scabs on your testicles? You should see a urologist or a dermatologist to find out why.
See a dermatologist. You must meen scabs on the scrotum. Testes are within the scrotum. You should consult with a dermatologist.