Try to focus on your present more.
Whenever you find yourself thinking a lot about something, try to focus only on the things around you.
Whenever you are experiencing anxiety attack try to practice grounding techniques.
Expect less from people and build a boundary for yourself.