It’s called a Primary. Happens just about every four years.
RINOs lie their way through primaries and then take off the mask if they fooled you in a primary.