shaving problems

i know it’s like super weird but whenever i shave i get these red bumps with ingrown hairs, it’s kind of annoying that the only way i know how to get rid of them is getting some tweezers and pulling them out one by one. tips to avoid and get rid of this?