Scots are being urged to stay safe after the storm brought chaos over the weekend.