textBox1.Text <= "12"
This is incorrect. You have a string value (textBox1.Text), on which you are trying to make a number comparison with.
You have to transform your string value to an integer one to be able to compare.
So :
int value;
bool ok = int.TryParse(textBox1.Text, out value);
if (ok)
{
if (value <= 12)
{
label3.Text = "afected";
}
else if (value <= 20)
{
label3.Text = "average";
}
else
{
label3.Text = "normal";
}
}
else
label3.Text = "textBox1.Text does not represent a valid integer";
Hope this helps