Drying up breast milk?

Is there a way to dry up your supply? My son can’t breast feed and pumping is draining me emotionally for several personal reasons and I’ve decided it’s best for my mental health and ability to take care of my son if I just use formula. Please no harsh comments, this decision wasn’t easy for me to make and the whole situation has been terrible on my mental health.