Simply go to the airline desk, assuming you're at the airport, and ask them if you can go on an earlier flight. If there is and earlier flight, and there is room, they should re-book you at no charge. I've done that before. But I guess it depends on the agent, or the airline whether you have to pay or not.