Decreasing but keeping to a 6 row pattern

help I’m not a very experienced knitter and am upto the shape neck but not sure how to keep to pattern

Welcome!
Can you give us a link to the pattern or a pattern name? It’s OK to quote a line or two, just not large portions of the pattern due to copyrights.
Usually the thing to do is to work the shaping for the neck but give up a pattern repeat at the neck. Just make sure that the pattern in the main portion of the row continues the pattern already established.