The question

Am selling my business, but am just getting half of the money and the other half in 3 months. How can I protect myself to make sure I get paid.