Preventive actions are just simple, do not submit your links anywhere on internet. Analyze the quality, condition and most importantly relevancy of the site with your site.
People will not expect a software company to be found on a cookery lessons website (unless the website itself was developed by some software company and it has earned a link on cookery website).
Focus on the user experience, as it will help you a lot in gaining trust and reputation. A less trusted website have very thin chances of getting indexed as compared to the one quite popular and moreover, Reputed.