To open the Notifications panel, tap the top of the home screen and swipe down with your finger. Swipe left or right on the quick settings menu. See if there's the option for auto-rotate. If there is, just tap it to turn auto-rotate on or off.