Gonna second some points that
>>3 made. I was also one of those kids who was always told how smart they were, felt insecure about saying or thinking anything "dumb," and then later felt horrible realized I wasn't the most amazing person out there.
The thing is that most people aren't special. But honestly, the even more important thing is that you really don't have to be special. Just do what you can. Don't worry about how "smart" you are– there are things you'll know way more about than other people, and there are things other people will know way more about you. Because there's not one type of intelligence– for example some people are book smart, others are street smart, others are emotionally/socially intelligent. Like Artison said, IQ is not an accurate measure of intelligence and I would go as far as saying that being logical isn't the only way to be intelligent either.
I'll disagree with Artison when they said that you can't change what you're feeling. I felt the same way before, but I don't anymore. I know it's frustrating not being as "smart" as we want to, but trying to see my shortcomings in a different light helped me a lot. If I don't know something, or I think/do/say something dumb, I try to see it as a learning opportunity. Sounds cheesy as hell but it helped, a little at first, but once I really got into the mindset it helped a lot more. You learn better when you ask questions or make mistakes.
Don't let it get to you, and try not to beat yourself up about it. I hope things get better for you, OP.