I certainly agree with Tomas. But, here is a different twist that may help you. [This will not work if you are using any open strings.]
A way to help you remember scales is to pay attention to the shape of the scale (pattern) (sequence),
and the note and string it starts on. odds a very good that it will repeat. You can play another scale if
you play the same Pattern using the same string and a different note.
I intentionally left out the theory. don’t dwell on this it’s just a tip.
Oh the name of the scale is the first note you play.