What could be pain in my upper groin right side. I can feel a nodule there.?

Lymph node. Most likely a lymph node, just like you get in your neck when you have strep throat. It should be self-limited; if it persists, or gets larger, see a doctor.