1. You can either text him, and ask him why he did this to you, ask him why did he lead you on? and you should tell him that you feel betrayed and used and that you don't appreciate his behavior at all.
After that you should break off all contact with him. Block him out of your life, forever!.