Urgent repairs are being carried out on a bridge over the railway.