The problem often comes down to how you're pulling the yarn from the ball. If you yank it randomly or jerkily, the yarn catches on the wraps and gets tangled. Try always pulling the yarn from the same spot on the ball - usually the center if the ball is wound properly, or the edge if you're knitting from the outside end. Your tension should be even and smooth, without jerks. If you feel resistance, stop and carefully untangle whatever got caught before you continue.
You also need to hold the ball so it doesn't spin on its own or roll away. Ideally, use a special stand (there are cheap plastic or wooden ones), but you can get by without one: just put the ball in a small bowl, cup, or even a box so it stays stable. The key is that the yarn should pull out easily, without rubbing against the edges of the ball.
It's also worth checking the quality of your yarn. If the thread is loosely twisted or fibers stick out, it's more likely to catch. In that case, it helps to slow down your knitting pace and be more careful with your tension. With practice, your hands will get used to it, and tangles will become less frequent.