If you live in a state that requires you to register as affiliated with a political party, and you are registered Republican, change to Independent. Now, my state (Tenn) does not have that requirement. We are allowed to vote in either primary at every election. I do not know how party registration states handle the primaries.
I’m already an Independent.