text at 270 degrees

when I enter a text it automatically turns 270 degrees, I don't know how it happened. how can i reset the text to 0 degrees?