Depending on the reason for the delay, you may be entitled to compensation, including a refund of the unused portion of your ticket, or accommodations at a local hotel.
Every airline's policy is different; read the Contract of Carriage to find your airline's specific rules.