You are most probably having
anal fissure or hemorrhoids .
Hemorrhoids can usually be diagnosed from a simple medical history and physical exam. External hemorrhoids are generally apparent, especially if a blood clot has formed. Your clinician may perform a digital rectal exam to check for blood in the stool. She or he may also examine the
anal canal with an anoscope, a short plastic tube inserted into the rectum with illumination. If there's evidence of
rectal bleeding or microscopic blood in the stool, flexible
sigmoidoscopy or
colonoscopy may be performed to rule out other causes of bleeding, such as colorectal polyps or cancer, especially in women over age 50.
Hemorrhoids home treatment
cut down dairy products
Eat a plant based diet.;
Get more fiber. Add more fiber to your diet from food, a fiber supplement (such as Metamucil, Citrucel, or Fiber Con), or both. Along with adequate fluid, fiber softens stools and makes them easier to pass, reducing pressure on hemorrhoids. boosting fiber causes bloating or gas. Start slowly, and gradually increase your intake to 25–30 grams of fiber per day. Also, increase your fluid intake.
Exercise. Moderate
aerobic exercise, such as brisk walking 20–30 minutes a day, can help stimulate bowel function.
Take time. When you feel the urge to defecate, go to the bathroom immediately; don't wait until a more convenient time. Stool can back up, leading to increased pressure and straining. Also, schedule a set time each day, such as after a meal, to sit on the toilet for a few minutes. This can help you establish a regular bowel habit.
Sitz. A sitz bath is a warm water bath for the buttocks and hips It can relieve itching, irritation, and spasms of the sphincter muscle. Pharmacies sell small plastic tubs that fit over a toilet seat, or you can sit in a regular bathtub with a few inches of warm water. Most experts recommend a 20-minute sitz bath after each bowel movement and two or three times a day in addition. Take care to gently pat the anal area dry afterward; do not rub or wipe hard. You can also use a hair dryer to dry the area.
Both these conditions need to be excluded by a specialist
General surgeon or by a Gastroenterologist