How to calm myself and sleep after seeing something graphic?

I came across a very graphic gruesome pic of a body online. It wasn’t blurred and came out of the blue. I’m trying my best to sleep but the image keeps coming in my mind and I’m feeling very scared and anxious. Throughout the day I’ve been distracted but now it’s worse. What should I do?
How to calm myself and sleep after seeing something graphic?
Post Opinion