How the heck do you shave your private parts (men) without getting cut?

I'm meeting my girlfriend tomorrow after 5 months. She told me to shave and I did today. I have 8 cuts at the least. Wth.