There are more reasons for male testicular swelling and pain, such as testicular, epididymal and urinary tract infections, tumors, stones and varicocele, etc., while pain in the anus is mostly seen in perianal abscess, anal fissure, hemorrhoids, etc., which need to be examined in order to clarify the cause of the disease. 1. Testicular swelling and pain: orchitis, epididymitis and other infectious diseases can lead to congestion and edema in the affected area, which in turn leads to testicular swelling and pain; patients suffering from benign and malignant tumors of testicles and epididymis can also have testicular swelling and pain; urinary stones can lead to radiological swelling and pain in the testicles; blood stagnation in the testicles of patients with varicocele can lead to swelling and pain. 2. pain in the anus: perianal abscess belongs to the anorectal space bacterial infection, there will be intense pain in the anus; anal fissure belongs to the anal canal at the skin fissure, pain aggravated by defecation; external hemorrhoids, mixed hemorrhoids can cause pain in the anus; may also be sinusitis, belongs to the sinuses of the bacterial infection, is the pain in the anus. It is recommended that patients go to the hospital, improve the auxiliary examination, in order to clarify the cause of the disease, the professional physician for the condition of the appropriate treatment.