Knitting went the wrong way

So I’m doing a pattern that is purl every odd row and then an intricate pattern every even row, varying row to row. Everything seemed to be going fine until I realized that the second time I’ve gone to do the 24 rows, my purl is on the wrong side, so there’s a bunch of bumpy mess right above the pattern. Any idea how I fix this?

Welcome to Knitting Help!
There’s not a great solution for correcting this short of ripping back to the row with the mistake. For small areas of incorrect stitches you can duplicate stitch across the error but that may just make an entire row look worse. I’m sorry not to have a better solution.
How far along in the project are you? Can you give us a link to the pattern or tell us the pattern name?