IPhone sideways problem when texting something.

I cannot turn my iPhone 5 to Landscape Mode so I can view pictures and videos better. The down button is also not working and when I take a shot with my iPhone's camera and sync it to my computer, the pictures turned upside down. I am running a Windows-based PC. How can I fix the settings so the issue will be corrected?
