Ask an Immigration Solicitor. Get an Answer ASAP.
Hi, I’m Lea and I will be assisting you with your query today.
I am very sorry to hear about your dilemma, but will do my best to provide you with advice and guidance on what to do next. If you are here on a spousal visa and your relationship is over you are obligated to inform the Home Office as soon as possible, and will then need to apply for an alternative visa or leave the country. You can find out more here, as well as find the contact details of where you email to notify the home office: https://www.gov.uk/visas-when-you-separate-or-divorce
You will obviously need to change your visa as soon as the relationship is over (it's when you end the relationship, not when divorce takes place that ends your spousal visa), so naturally you will not be able to get married again until you are divorced.
The following is useful info to assist you with the site:
I have found that every question asked in my field of expertise can be answered online; I am not available for phone calls.
You will need to look at the available visas on the link I provided and see which suits your circumstances.