A prenuptial or postnuptial agreement is one of the most secure ways to protect your net worth from divorce. This way, you can outline which assets should go to each spouse. This agreement will take priority over the community property rules, which would normally split property gained during the marriage equally between spouses.