This question comes up quite regularly, and the answer is usually “you shouldn’t”, see eg here Creating multiple variables with consecutive names using a for loop
If you give me background as to what you avidly want to achieve people can probably suggest a different approach.