Anyone have a baby that does not like formula?

Anyone’s baby cannot stand formula? I’m struggling she spits out everything and due to medication, I cannot breastfeed anymore… help!