If you only have a spring pan at hand, you will need to place a layer of foil between the two parts of it so that the flan stays inside and doesn't leak out and also, so that no water flows into the flan from the water bath. You can also wrap the base of the mold tightly with 2 layers of foil.