I am sorry to hear that you are struggling at the moment. You don't mention how old you are, so I can only guess your circumstances.
If you are a teenager, these are common feelings as you are transitioning from a child into an adult. If you are late teens / early twenties, take some time out to analyze what is causing these feelings. Are you struggling with life or has an event or several events happened? If you are feeling depressed, maybe visit your doctor to see if there is any medication or counseling you can receive. Maybe you have an addiction? Drugs? Alchohol? You can be addicted to the internet/mobile phone which causes being short-tempered when people disturb you. You need to look inwards and see what is triggering these feelings. Start a daily journal, write down how you feel each day, and if something happened to trigger these feelings. I found a book called the "Power of Now" by Echart Tolle useful. Lessons I learned were to ask myself "what problem do I have right now?" Often I had negative feelings if I was worried about something that may happen in the future. What problem do you have right now? The other takeaway I liked form the book was to observe my feelings. Observe your feeling of sadness. or irritability. The feeling is not you. Observe it and you will find it dissolves away. Another tactic is to keep a log and do all of the following each day - spend time in nature, do some exercise, do some deep breathing, do something enjoyable. Do that each day and at the end of the day, write down how you are feeling. When I am stressed, I go outdoors for a few hours for what I call green therapy. I have an allotment and grow my own food which is very therapeutic. Don't worry about your relationship with others at the moment. focus on yourself. Create habits that support your mental, physical and emotional health. I would try different things, start a journal and take note of which habits are helping you and keep doing them, as long as they are healthy and not extreme.