I depend on philosophy for a lot of things but the one "hack" if you want to call it that has helped me the most (universally) is this
"When you're alone you should call this condition tranquility and freedom, and think of yourself like the gods; and when you are with many, you shouldn't call it a crowd, or trouble, or uneasiness, but festival and company, and contentedly accept it."
-Epictetus