Here are some shaving tips to help prevent ingrown hairs:
If you have an ingrown hair it will probably heal on its own. You can help by not shaving for a while. If it does not get better, see your doctor.
Wet your face well.
Keep your skin relaxed.
Shave in the direction the hairs grow, usually downward.
Don't shave the same area twice.