Sad and single

I've recently split up with my boyfriend of 3 years and I'm having a hard time. He completely changed from the one I loved into someone I don't even recognise. Any tips on how to get myself back on track? Or ways of coping dealing with this? 
Thanks x