Razor burn? Ingrown hairs??

How do I prevent this??? Or get rid of it. Someone help