relationship

Okay so me and this boy been friends for about 3years and I don't know how but we low key started talking.. An I was helping him get his shit back together an then we became closer an closer and he was asking me when are we going to have sex remind you guys we barely got to the talking stage. And I told him not know cause I'm not having sex again till I'm in a real relationship for about 5-6 months an that's only if I want to have sex.. But know he's acting weird and distant but he still talks to me when he wants or needs help with something.. What should I do?? Please HELP💯