The best way to learn volleyball setting is to practice it. You need to watch and study and see how it is done. Then you need to to put what you have been observing into practice. Practice with someone who is good at it.
Obviously your coach or one of your teammates would be a great source. If not, there are a number of instructional videos and websites out there that can make you get better at this skill.