If passing stool is associated with pain than this is fissure. You should avoid constipation, as this is the cause for piles/ Fissure. it's better to get evaluated , a short scopy done to rule out the underline problem. Take salads in each diet. Take plenty of water. Get your self evaluated soon. feel free to ask any further quary.Take care.
Next Steps
Do sitz bath 3 times a day. If symptoms persists then you can book appointment through Practo with me through Practo, will help you out.