Problems on serial.read()

And the reason to not use it.
Can you explain me and give me a tip about how to use what do you think is better in my code?