Thank you for the query.Stomach cramps
and testicle pain can be caused by inguinal hernia which causes an obstruction, urinary tract
stones/inflammation, testicle torsion.
Inguinal hernia usually gives more intense pain while standing and coughing. A lump in the groin can be present.
Urinary tract issues gives also lower abdominal pain
, back pain, frequent urinating, burning while urinating.
I suggest you to do not ignore your symptoms. Yes it may affect your fertility. Please visit your doctor. Abdominal ultrasound, testis ultrasound, blood work, urine analysis should be done at first. You should also consult urologist
Hope this will help.