You're young. Don't get in a long-term relationship that you will look back on some day and realize you wasted away some really good years. This on-again off-again routine is usually a bad sign and usually causes nothing but heartache and lost time for the people in it.
Try to keep your distance emotionally with him. See other guys, try not to get involved sexually. There are many guys out there and you may be missing Mr. Right if you don't venture out.
just because you think about him 24/7 doesn't mean it's healthy.....that sounds like an obcession and yes I think it was a mistake to get back with him.....he doesn't treat you right