Question: how to stop thinking about someone who ghosted you?
Answer: Step 1: Accept your feelings and allow yourself to hurt. ... 
Step 2: Be gentle with yourself and have some sympathy for your emotions. ... 
Step 3: Talk to someone about it (friends, family, therapist, anyone) ... 
Step 4: Make sure you're sleeping, eating well, practising mindfulness and exercising.