do you know what is wrong with your knee? there are about a bazillion different knee braces for a bazillion different things, it really depends on your specific needs.
If there is something wrong with your knee, and it is causing you pain when you squat then I would probably stop squatting until I had it checked out by a physio or a doc.they will be able to advise you on the best knee brace for your condition