I am unsure if I should divorce my husband/wife

The Beloved Messenger, sallallaahu ‘alaihi wa sallam, taught us a method of consulting Allah Subhanahu wa Ta’ala in order to make major decisions. This is called Istikharah. The du’a of Istikharah can be found in many books of the du’as of Rasulullaah sallallaahu ‘alaihi wa sallam. However before doing Istikharah one should be firm that he/she will strive to act according to the indications received.
The method that we have been taught is that before going to sleep, one should perform two Rak’aat Nafl and then say the du’a. When one reaches the statements “Oh Allah, if  You know that this matter is good for me…” and “Oh Allah if You know that this matter is evil for me…” you should think of the “matter” (in your case getting divorced from your husband).
You should then go to sleep without talking to anyone. When you wake up, before doing anything, consider your inclination to this matter (i.e. getting divorced). Do this for a minimum of 3 consecutive nights, up to a maximum of 7 consecutive nights.
If you find that your inclination towards getting divorced increased over the days, you take this to mean that this is good for you. But if you find that your inclination decreased, then this is an indication that getting divorced is not good for you. Then you need to strive according to the indication you received from “consulting” Allah Subhanahu wa Ta’ala.
You should inform your parents that you are going to do Istikharah and they and you need to be prepared to act according to the indication you will receive.
While marriage is the ideal in Islam and divorce is the most disliked of all permissible things by Allah Ta’ala, there are times when even very pious individuals get divorced (like Saiyiduna Zaid ibn Harithah R.A. and Saiyidatunaa Zainab bint Jahsh RA, subsequently Ummul-Mu’mineen). So if the indication is that divorce is good, then there is no wrongdoing involved.
And if the indication is that divorce is not good then strive to make the marriage a success, putting your trust in Allah Ta’ala and beseeching Him earnestly in du’a for His Help and His Grace. And Allah Ta’ala knows best!