Participating in primary elections.
The American electoral system is inherently a two-party system. This is a mathematical consequence of how it functions, voting third party is provably counterproductive and your friends are correct to be giving you an earful for it.