Prevention of solanine poisoning involves proper storage and handling of potatoes. Store potatoes in a cool, dark, and dry place to prevent them from turning green and sprouting. Avoid consuming potatoes that have visible green patches or sprouts. Peeling and cooking potatoes can significantly reduce their solanine content.