breast feeding- HELP

Mckenzie
Breast feeding was HARD to say the least. My baby had difficulty latching on and lost 11 oz in the hospital. I started pumping to supplement which helped her gain 4 oz back (by day 5). After 5 days of breast feeding/ pumping every hour I started to get depressed about missing time with baby and had sadness feeling like a milk cow. Lol I decided to start supplamenting with formula and trying to phase out the pumping. I'm currently engorged and in some
Pain. I'm pumping just enough to relieve pressure and using ice packs for pain. Ready to be dried up. 
Any tips on getting milk to dry up fast. I'm very worried about getting mastitis. I've been making longer gaps between pumping and only pumping for relief. Also, I've been starting witht the pump and letting them get started but then tuning off the pump and hand expressing my massaging the harder more sore areas. But my breasts are so sore and hard. At my last pumping, my breasts started pouring as soon as I took my bra off.