Reflection from a fixed end; the phase of the wave is reversed upon reflection.
Reflection from a loose end; the phase of the wave is unaffected upon reflection.
Reflection from an interface with a more dense medium; the reflected wave reverses phase as the transmitted wave continues with different speed and intensity.
Reflection from an interface with a less dense medium; the reflected wave keeps the same phase and the transmitted wave continues with different speed and intensity.