Cooking potatoes through boiling or another method may reduce the amount of solanine they contain. You can also remove solanine by peeling the potato and cutting away any green spots.