Welcome to Android Central! Which phone do you have? Do you mean the screen flashes on and off while you're on a call? Is this when it's up to your ear, or on speakerphone? If it's while you're holding it up to your ear, there might be a problem with the proximity sensor.