How can I stop breastfeeding?

I have a 10 year old and it was really easy with her. But she was 2 years old when I stopped. Now I have a 1 year old and I just don’t have the patience to keep breastfeeding, she has 8 teeth for crying out loud and loves to bite lol.

How long did it take to stop breastfeeding when you started the process? 2 days? 3 days? A week?

How can I stop breastfeeding? What worked for you guys? With my 10 year old I put hot sauce on my boobs lol but idk my one year old seems way more stubborn 😩