Hiring an attorney, canceling all joint credit cards, keeping track of your assets, not signing anything, and being careful with what you post on social media can protect you during a divorce.