shaving tips

I know how to shave around my vagina but I'm having a lot of trouble shaving around my butthole because I can't tell which way the hairs grow. Last time I tried, my skin got super irritated. Which direction to I shave? Any tips?