How to make character face direction when button is pressed

I want to know when my character is facing right, and I press the button (Num 4 ) to shoot left.

How do I make my character turn that direction?

As my character just faces the same way and shoots.