Seeing the picture only, it is difficult to say any confirm diagnosis; still it seems to be a case of acute anal fissure due to chronic constipation.
Clinical examination is important to come to a diagnosis. Do Sitz bath with lukewarm water (sit in warm water) 3-4times/day; apply Anobliss ointment after every Sitz bath.
Take stool softener like Cremaffin plus 15-20ml at night.
Next Steps
Consult a General Surgeon or Proctologist for better evaluation and management
Health Tips
Have plenty of oral fluids and high fibre diet