Surgery

A 4 months old male child presented with inguinal mass which they noticed at the age of 2 weeks.what is the management