I would advise you to meet a general surgeon so that the hydrocele operation can be done. Yes it requires a post surgical hospitalization for a few days upto 3 days so that you can have the IV antibiotics and to monitor your post operative status before you can be discharged.
Next Steps
Follow the steps as advised
Health Tips
If condition persists or worsens visit the general surgeon at the earliest