What did you do to get over your ex ?

My friend told me the classic to get over someone you gotta get under someone else …but ….idk about that Been broken up for nearly 3 months and I still struggle to get out of bed or to not think about it