and hemorrhoids are the most common causes of anal pain and swelling from the anus. Depending on their location, they can be internal(rectum) or external(near anus) hemorrhoids. Internal hemorrhoids are usually painless. Diagnosed by clinical examination, Per rectal examination and anoscopy.