I accidentally flipped my ultra moon 3DS screen and Idk how to flip back.
In order for us to provide better support, we need to see the log generated by Citra. This guide will walk you through how you can obtain the log file: How to Upload the Log File.
Try pressing F8. That should swap your screen.