Try pulling down from the top of your screen until you see QUICK SETTINGS. These are the little blue circles, for PHONE, WIFI, etc. One of these buttons may be marked as AUTO ROTATE, or (more likely in your case) PORTRAIT. If that button says PORTRAIT, click on it until it says AUTO ROTATE. That should, hopefully, cure your issue. 😊