I've only flushed once or twice in decades, but it was when I was younger, impatient, and of the mindset that more nutrients surely will result in more/bigger buds. Live and learned. When I flushed, I just used tap water, but while my water is considered hard, it isn't rock hard, maybe 200-250...perfect for not needing to worry about calcium or magnesium. I flushed using about 2 gallons of water of your choice, made sure I had a good outflow from the bottom of the container, then repeated it two or three more times, letting it drain fully before doing it again. This is the quickest way to remove water soluble nutrients, and you might want to have a dilute solution of nutes ready for when the remainder is used up in your containers. Flushing usually gets rid of everything, so the plant is going to get hungry quickly...just go easy on the nutes if you think it was overfed before you flushed.