Waxing and ingrown hair

Does it prevent you from getting ingrown hairs rather than shaving? I get ingrown hairs whenever I shave down there!