In most cases, you'll be able to take the next train to your destination. (Where possible, the train company will arrange a taxi or replacement bus if you miss the last train due to a missed connection.