Are you still registered as a PAYE employer? If so, then you can withdraw the money as salary; ensure you have taken out the correct tax and go from there.
You can only pay yourself as dividends if you have the accumluated profit from previous years and have already been taxed. You also need...