24/7 thoughts about an ex

Anyone else just think of their ex 24/7 like from the moment they wake up to the moment they go to sleep? its like i cant help but obsess over her constantly and i only get short 1-5 minute breaks between not thinking about her. It drives me insane man and the worst part is i wasn't even happy when i was with her? i just don't understand.