Exboyfriend

Is it normal to think about your ex he always in my mind and I don’t know what to do as he treated me like shit and I don’t want to go bank to him I’m just confused. HELP !