Both hinder you, so the best course of action is to seek clinical help. You can’t just “cure” that
Get involved in healthy activities like playing sports , watching games , sitting with the family and friends that make you feel better , working hard and achieving something which will give you a sense of self respect . Simply , the more busy you are in healthier activities ,the more healthy you are . Also, don't forget to meditate and exercise.