Recent breakup

My long term boyfriend and I recently broke up. It was both of our first relationship and I’m struggling to deal with it right now. We ended things on good terms and it was a long time coming but I can’t seem to get on with my life right now. I’m struggling to sleep, I can’t eat because I feel like I’m going to bring it back up again. Is there anything I can do to help make the process a little easier?