Does waxing decrease/prevent in grown hairs in your bikini area?

I’ve tried shaving and even nair and still struggle with in grown hairs occasionally. Any tips to prevent them? Does waxing make it better?