What do you do when your baby stops drinking formula?

What do you do when your baby stops taking formula?? She absolutely will not drink it and I cannot make breastmilk anymore due to meds…she is 8 months old.