If you are being seen by your primary care doctor, you might be referred to a specialist such as a colorectal surgeon, also sometimes known as a proctologist (a doctor specializing in diseases of the colon, rectum, and anus) for further tests and treatment.Endoscopy