Seeing things

Most of what we see is in our heads, so if I see something that isn’t there how do I know it isn’t there?