How do you shave your vagina?

It might seem like a weird question and I've tried to shave my vagina once before but it got a lot of red bumps and it was itchy (tmi, I know). How do you do it safely? Without itchiness?