How do I properly use refraction on water and how will i create water depth?

thanky ou all for your help. and the solution for the wrong refraction is here:

we just have to use “pixel normal offset” as refraction mode for large flat surfaces.