Hi dear, sorry to know about your situation. First of all don't hurry yourself. It won't help. Share your thoughts with your family members or close friends or siblings.
About bad relationship, it may be because of your depressed mood or may be vise versa. But you can overcome this with proper help. You are not alone in this struggle.
Next Steps
Visit psychiatrist.
Health Tips
Whenever you feel like hurting yourself call friend or family member. Tell them about your emotional status.