You can't likely cure the hydrocele without knowing what the underlying cause is. Neither this, nor any online forum can diagnose the cause as it requires physical examination, possibly followed by some tests, to determine the cause: https://www.mayoclinic.org/diseases-conditions/hydrocele/symptoms-causes/syc-20363969
Even if surgery is recommended, it is still your choice to forego the surgery, but you should rule out any serious medical causes before continuing self-treatment.
What caused it? It is ususly found in newborns and little children, while adults develop it due to injury or inflammation, so you might want to treat the underlying cause first.