Error code when verify?

What does the message error mean?

It means the bottom part of your sketch should be inside loop()

void loop()
{
// <<<<<<<< put it here
}