How do I use a cordless drill to drive screws without mangling the screw heads?

I have a Ryobi cordless drill with a variable speed setting. I've had a number of occasions to use the screw driver bits. Even when I drill pilot holes, I have trouble keeping the drill from jumping out of the screw heads and mangling them. What am I doing wrong and how do I avoid this?
9 answers 9