For me building up a 'bank' of positive affirmations is helpful, it was a tip I got on here from a member.
This can be done physically, you can keep a box, or some place special, reserved for nice memories with friends & or family - this might be photos, little keepsakes, greetings cards etc. You can go back to this box when you need to and remind yourself of the evidence people like and care about you.
Or it can be something you practice mentally, spending time where you think about something nice that you did with people you care about, something that will make you smile. When you revisit memories often they can become stronger.
This can be a challenging feeling to cope with but recognising that it is faulty thinking is in itself a positive step.