No, you should not stop breastfeeding too quickly. If you need to stop breastfeeding, stopping suddenly can be very painful and even lead to mastitis and red, infected, painful, clogged ducts.
Breastfeeding is based on supply and demand. Your breasts make milk based on how much demand they expect. If you stop suddenly, your breasts continue to produce milk. Because the milk isn’t being removed as expected, your breasts will become full, swollen and painful. Although using this method will see your breastmilk dry up within 3-7 days, those days can be very painful and if you do get an infection, it can take even longer before your breasts return to normal.
The best solution to stop breastfeeding is to drop one feed every 1-2 days, so your breasts can slowly adjust to the lower demand and thereby, lower your milk supply. You can also read this guide on other ways to dry up your breastmilk.