Transitioning from breastmilk to formula

Baby hates formula and has been exclusively fed bottled breast milk. How in the world does this transitioning thing work and how long will it take?

Sincerely,

One confused mamma 😵😵