Pain when poop + bleeding

I'm in the post partum period (2 months) and have been bleeding a little when I poo for a few days. I was recommended to take Daflon 1000 and some cream. The thing I'm worried about is that I am breastfeeding and there is noting to say if it is dangerous or not. I found this two informations on the internet. What would you say? Would you avoid/ has anybody else been through this when breastfeeding and what did you do to resolve it?

Thanks in advance!