Hello Friend, Good that you are seeking a help. Dreams and especially negative dreams is ab symptom of emotional imbalance like anxiety or depression. You may need a guidance of psychology counselling to asses your condition that can influence with such thoughts. No worries, it's just like any other physical illness and can be addressed through counseling session and few lifestyle changes or therapy.
Next Steps
Feel free to reach out to me online through Practo app chat for further evaluation and recommendation.