How long have you had it? Is it growing? How big is it - is it like the size of a cherry? Maybe a lime or lemon?
I think you should get it checked out by your doctor. Without knowing much about what you are experiencing, it's hard to say what it is, but maybe it's an inguinal hernia.
https://www.mayoclinic.org/diseases-conditions/inguinal-hernia/symptoms-causes/syc-20351547
That's a big guess, of course.
Stop trying to squeeze it, and let a doctor check it out. Let us know what happens.