Clipping nails

Annabela
Today I was clipping nails and got some of his skin. I felt horrible! It kept bleeding but eventually stopped. It's a big chunk, or I at least think so. What can I do to avoid this in the future? I've tried filing but he still keeps scratching his face.