Beard hairs and hairs, in general, grow in the direction the follicle is facing. There is not much you can do but shaving and brushing your beard in a specific direction can help if you do it for a long period of time.