What are your rights if a company goes bust?

If you have ordered goods from a company that goes bust, what are your rights?