If your train is blocked on the track, the railway company must arrange (alternative) transport from your train to the railway station, to an alternative departure point, or to the final destination if physically possible. Depending on the extent of the delay and the company's delay compensation policy, you may be eligible for compensation. To check this, you can visit this website or read more information in the article 'Can I get compensation if my train is delayed or cancelled?’.