How do u store boiled water for formula??

Do u just throw it or do u keep in in like those termo cups that keep them warm? And when the water is cooling do u let the water cool in the pot ?? Im super confused bcs i see every one do it differently and the articles i read