You simply take the next train. If you have savings fares which are bound to a specified connection, you need to obtain a written confirmation from the conductor on the delayed train (i.e. BEFORE the change) that the train is delayed, then you can use the next available train without any extra fees.