I am knitting and purling on circular needles. I noticed I had a dropped stitch and when I went to go fix it a sideways loop of yarn came off with it
I wonder if you might have put down your knitting and when you picked it up again, inadvertently started knitting in the wrong direction?
You might patch it up but the cleanest solution is to rip back to the loop and re-knit.
Yes, I agree with @salmonmac. Best way to fix it is to rip back to the mistake. If there is the dropped stitch as well put it on a removable marker or safety pin so you’ll know where it is.