Yarn twists and curls up (Beginner question)

I just went to my very first knitting class yesterday, and I'm practicing this morning. I have a problem, though, because the yarn between my knitting and the skein is getting all twisted and curled up. Eventually, this is going to become a real mess. What am I doing to make it do that, and how can I prevent it? Thanks.