The good news is as you realize he is a fuckboy, you are on the right track. Then just make sure to take the following steps:
1. Determine what you expect from a relationship with a fuckboy and why you need it. Whether it is an affirmation, lack of confidence or self respect, you should focus on these aspects, not on him.
2. Cut off any connections with him, be it social media or real life.
3. Once you start to lose your determination, look through your conversations with him to remind yourself how he treated you. So keep all the evidence intact (text messages, emails, etc.).
4. Enlist the help of your friends or even a professional. You need support to go through it.
5. Keep your head always busy so that you do not have time to even think about him. Thus, it is a perfect time to take up a new hobby.
6. Accept the idea that love is not eternal. It will go as surely as the sun rises. Just keep in mind not to make the same mistake anymore.
7. Love yourself. Be kind to yourself. Treat yourself with respect. And remember that you deserve only the best and some fuckboy is not what you should settle for.