Don't listen to that. You aren't dumb. You are an intelligent person. If you teacher was calling you dumb just because you didn't understand a math problem, or because of something else that you were having trouble with, that doesn't mean you are dumb or aren't smart. Everyone has trouble from time to time. Different type of people learn in different ways. That doesn't make you stupid. It is normal to be different.