After varicocele surgery, we advise Scrotal support for 3 months. One should not lift heavy weights for 6 months after surgery. But in your case, 2 years is over. Hence you can go to gym but keep Scrotal supporter & abdominal broad belt ( like a boxer or a gymnast keeps)
Next Steps
Gradual increase in grade of exercise over 3 months
Health Tips
Avoid smoking, alcohol or any addictive drugs