1. Abolish primaries and political parties. Put all the candidates on one ballot. Whoever gets the most votes is president. That's how it used to be done in the days of Washington and Jefferson.
2 Pass a law that says the party you are currently a member of is the party you have to stay with for the rest of your life. You can not ever for any reason switch parties.