Loose, mushy stools for a few days after a single-dose antibiotic like fosfomycin are a known side effect, since it can disturb the normal gut bacteria balance. This usually settles within 3 to 5 days on its own and doesn't mean the antibiotic caused other harm. The anal fissure is likely from the loose, frequent stools irritating the area, not from the medicine itself.
Next Steps
Stay well hydrated, add curd or a probiotic to your diet, and keep the anal area clean and dry after each stool to help the fissure heal. If burning on passing urine continues, ask your doctor for a urine culture to confirm the infection properly.
Health Tips
See a doctor soon if the loose stools continue past a week, you see blood, or you develop fever or severe anal pain.