Anal pain for up to 2 years but can’t find out why. The pain occurs both sitting and lying down may be due to hemorrhoids, rectal cancer, etc. Treatment is usually based on the condition in question, with surgery if necessary. 1. Hemorrhoids: include internal hemorrhoids embedded and external hemorrhoids edema. Internal hemorrhoids are mainly due to swelling and burning pain. External hemorrhoids are mostly caused by exertion, struggle during bowel movement or surgical stimulation. Need to be returned to or surgical treatment as soon as possible, otherwise the surface mucosa is very easy to bleed, broken, and even complications of infection. Generally use ligation, stripping surgery treatment. 2. Rectal cancer: there may be bloody stools, no pain in early stage, and later on, due to the enlargement and rupture of the mass, there may be swelling and hidden pain in anus, and there are common symptoms such as change of stool habit, pus and blood stools, abdominal distension, abdominal pain, and emaciation, etc. Rectal cancer requires surgery as soon as possible. Surgery is needed as soon as possible to remove the intestinal segment. If necessary, a fistula stoma is performed to help drain the feces. Anal pain do not self-medication, need to go to the regular hospital as soon as possible to the systematic examination, differential diagnosis, under the guidance of a professional doctor to give standardized treatment, so as not to delay the aggravation of the condition, bring adverse consequences.