What happens if my flight is cancelled or delayed?

What happens if my flight is cancelled or delayed?