How to avoid razor burn

I'm in gymnastics & compatition season is right around the corner . How do I prevent from getting razor burn around my bikini region ? & is there proper techniques of shaving I should try?