Your flight must fall under European Regulation, which is the case if your departure airport is in a European member state, or your airport of arrival is in a European member state and you're travelling with a European carrier.
depending on the flight distance and the length of the delay (at least three hours) you are entitled to EUR 250 EUR 400 or EUR 600