i am both an introvert and mentally ill. a lot of times i’ll be hanging out with someone and suddenly i’ve completely lost interest in hanging out. doesn’t matter if i’m having a decent time, or if i’m somewhere comfortable, or who it is. and once i stop wanting to be around them the only way to turn it around is to be alone. 

my question is, how can i stop this? i never know when it’s about to happen until it happens. what do i do when it’s a situation i can’t get out of?