Based on your symptoms of red blood in stool and burning during defecation, this could be due to an anal fissure or piles,maintain a high-fiber diet, drink plenty of water, avoid straining during bowel movements, and you may take a warm sitz bath for relief
Next Steps
consult a General Surgeon at the earliest for a proper examination and management