It is good to spend time with your friends.
John has a good group of friends but is also suffering from anxiety and panic attacks.
John wants to avoid situations where his anxiety is triggered.
John explains his situation to his friends and still tries to do less crowded more low key activites with them.
John isolates himself refusing activities with friends and staying home all of the time.
John keeps the friendships going and is able to overcome the anxiety more easily.
His friends notice that he never wants to come and stop inviting him to things.