You need to see or talk to a psychologist in detail as history is really very important as per your description of the symptoms.
For now, daily write ur negative events or thoughts n discard on the spot n then give positive self affirmations that u will get on internet easily like- I am strong, This too shall pass and there are many.
For sleep disturbances- kindly follow sleep hygiene like before 1 hour of gong to bed do not use any sort of screen.
Next Steps
Seek help by online consultation or face to face but plz do