How to claim compensation for delayed flights?

When a flight is suspended or canceled, the passengers get compensation. This compensation could be money or different services including a room and food. If you have a delayed flight, you can claim compensation....