shaving advice

How do I prevent razor bumps when shaving my bikini area?? And why does it always happen?