A. Disable notifications for the app or website to prevent spoilers. This can usually be done in the settings section of your account.
B. If you are using social media or other platforms, consider muting or unfollowing accounts that provide game updates until you have watched the game.