When it comes down to it, there's very little you can do about either of those qualities.
You can have surgery, I guess, to make yourself more attractive, but that can backfire on you.
And you can study to become more knowledgeable, and to learn to think critically, but I don't think there's much you can do to actually make yourself more inherently intelligent.
Honestly, it's not worth worrying about.
Someone who is happy with who they are and who treats others with kindness is always more attractive than someone who is insecure and acts like a jerk, regardless of what they look like or how smart they are.