My newborns stool

Kate
So i changed it to soy enfamil because it was liquid green before with gentlease. Now his poop is hard and there was blood I guess from pushing it out. I don't know what to do anymore. And doctor isn't open till tmrw! What formula do you guys use if your baby has a milk allergy? That's worked?