if you want an exact answer here it is "as long as it takes"
until they look healthy again without knowing tds of tap water it is hard to say if you can go to yur local fish store and get some ro water i would say depending on how bad of burn is relevant to how long of flush