When light travels from air into a denser medium like water or glass, it will refract towards the normal. When light travels from a denser medium into air, it will refract away from the normal.