Listen: clap, snap, clap, snap, clap, snap. The part that repeats is clap-snap. We call it the core. Once you know the core, you know what comes next: clap.
Some cores are longer. Red, red, blue, red, red, blue has the core red-red-blue. We can name it with letters: AAB. To find a core, look for the shortest part that repeats exactly, again and again. Then check it against the whole row.
Do not look only at the last thing. In circle, square, square, circle, square, square, circle, the last item is a circle. Copying it gives another circle. But the core is circle-square-square, so the next shape is a square.
A pattern that repeats is different from a pattern that grows. 2, 4, 6, 8 does not repeat. Each number is 2 more than the one before. That is a growing pattern, and the next number is 10.
Think of it like this. A repeating pattern is like the days of the week: Monday, Tuesday, and on to Sunday, then Monday again. The same 7 days go around forever, so you always know what comes next. A growing pattern is more like your age, which goes up and never comes back around.
Core idea. A simple pattern repeats a fixed core unit (like AB or ABB) over and over, so the next element is whatever the cycle says comes next.