Apple on Monday released iOS 11.2.2 and Safari 11.0.2 for macOS. Both updates are designed to mitigate the effects of Spectre. You can download the iOS update by going to Settings > General > Software Update on your device. On the Mac, open App Store and check for updates to get the latest version of Safari.