The government has urged the public to rethink their travel plans if they are on an affected service.