Contracting. Dealing and agreements on shares

How to assure you will not get screwed by proposal with (or without) a contract. How to properly get the shares? Unless it is...