You seem to be having anal fissure
or internal hemorrhoids
or both. itching may be due to pin worms or infection of fissure.
You need to take high fiber diet to soften your stool. Isphagula husk or even laxatives offer dramatic relief from pain. you may also try sitz bath.
If theses are not helping, consult a surgeon.
All the best.