This depends on what caused the delay – if it wasn't the airline's fault, don't expect to receive any compensation. Disruptions caused by things like extreme weather, airport or air traffic control employee strikes or other 'extraordinary circumstances' are not eligible for compensation.