dont isolate yourself, go outside, meet up with someone, visit somebody, you need time for yourself but you also need time for others, if you dont have that, your bad thoughts will get to you and you'll believe everything they say, your persons love and need you, dont leave them
if you see that people are being distant, it's not because you did something wrong, they might be having their own stuff going on so please dont worry too much, take care of yourself and the rest will come