Hi thanks for your question
The lump which your mentioning under your testis, could be due to injury
while shaving, which has got infected, that is why it hurts by putting pressure over it.
The 2nd lump which your mentioning in the crease of your thigh, is most probably an enlarged lymph node
(lymph nodes are normally present there)
The lymph node gets enlarged, if there is infection in the vicinity of the lymph node.
You need a course of antibiotic like leofloxcin for a week.
Consultation with physician is encouraged to know what exactly it is?
Hope I answered your question.