Relationship advice

Idk what to do about my partner..I haven’t spoken to him properly since 1 month.. he’s been distant ,not texting me or calling me..the last conversation we had through texts ,was him telling me he was confused about our relationship..he was confused about me? About what to do with me..I don’t understand what he means, I do want to try and understand him,help him but I’m afraid he might just want space rn..so I’m just giving him space, maybe he’ll talk to me on his own..I’m not sure if he just lost interest in me..idk if I should just move on as if he never happened in my life…he was someone I really loved and admired…but he also hurt me many times..we fought one week ago and that’s all..he didn’t say anything I didn’t say anything. I felt hurt because he kept on calling me names for me just being myself..I felt ignored by him on text..I told him this..at first he was just making excuses but I made him apologize eventually..I do love him,I hate fighting with him. I just don’t know what to do. Should I be with someone that has hurt me 3 times. I don’t want to keep on hurting but I don’t want to lose him. People say once he hurts you, you must leave. Sometimes he never meant to intentionally hurt me but I just get hurt.. I also never mean to intentionally hurt him,but I also hurt him sometimes. Give me some advice about this..