If you have a sudden pain in your scrotum, call a doctor and get to a hospital or doctor's office as soon as you can. Don't eat or drink anything until you've seen a doctor and found out if you'll need surgery. Testicular torsion is an emergency: When it happens, a guy needs surgery — fast. Saving the testicle becomes more difficult the longer the spermatic cord stays twisted.
Sometimes, the spermatic cord can become twisted and then untwist itself without treatment. This is called torsion and detorsion, and it can make testicular torsion more likely to happen in the future. If your spermatic cord untwists and the pain goes away, it might be easy to ignore it, but you should call the doctor anyway. Ignoring pain for too long or simply hoping it goes away can result in severe damage to your testicle and might lead to your testicle being removed.