My uncle recently died and in my head I’m thinking of ways to get attention ie faint at the funeral etc obviously I’m not going to do it. But I’ve now realised I’ve spent my entire life being an attention seeker, making up lies or spinning tales to get sympathy or attention. How on earth do I stop this train of thoughts, is there some sort of therapy I can have or counselling. I don’t want to be like this anymore
Source

It’s good that you realise you have this toxic trait and 100000% go to counselling. This will help u understand the core of it and why ure doing it. Also look at info online on how to navigate from it