Assuming the app you are using supports screen rotation, then your screen auto rotation is probably turned off. Head over to Quick Settings to turn it back on. If that didn't do it, restart the phone. If that didn't even help, check out How to Fix It When Android Screen Won't Rotate for more tips.