How do I rotate pdf image files on my phone?

Some of the PDF pages I scanned with my phone came out sideways, and now I can’t read them without tilting my head. I’m on Android and just want to turn those pages upright and save the file, but I can’t find any rotate option, so where do I look?

had the same thing last month with some of my planner scans. on android i just tap the pdf in files and check the menu for rotate, it usually saves the page the right way up. tbh if your viewer doesn’t have it try google drive. fwiw that got mine readable without tilting.