2 1/2 months Post Partum

This morning I was having some mild cramps. After I used the restroom I had some mild bleeding. I am breastfeeding. I haven’t had any more bleeding since. Confused as to why I was randomly bleeding?? Has anyone else experienced this or know maybe why?