In your screenshot, look at the green squares. Those are the spaces that are guaranteed to be safe based on the available information. The game wants you to click those before you do anything else.
Once there are no more guaranteed squares anywhere on the board, then you can guess. And if you guess somewhere that could be valid, it will be valid. But only if there are no other guaranteed spaces left.
Once there are no more guaranteed squares anywhere on the board, then you can guess. And if you guess somewhere that could be valid, it will be valid. But only if there are no other guaranteed spaces left.