She seems to have developed anal fissure.
She needs to avoid constipation and keep stool soft..... for that use laxatives, isabgul husk (psyllium).
Take Sitz bath (sitting in a tub of lukewarm water dipping buttocks inside) 3 times a day
Next Steps
You must visit a surgeon for proper examination
Health Tips
drink plenty of water 3.5-4 L per day
avoid straining during defecation