Freaked out

I noticed something today when I was masturbating that was hard and painful but not seeable from the outside but the thing is is that idk what it is and it hurts so pls help

Does anyone know what it might be