So like whenever a person says they’re worried or that they SH or anything like that I always think that they’re doing it for attention and that I can only have mental illnesses and like no one else can

I know it’s really weird and I don’t know why I’m even thinking like that but how do I get rid of this?