Usually, the hydrocele goes away on its own within six to 12 months. But if surgery is needed to fix a hydrocele and you don't get it, it can lead to inguinal hernia and infertility.