I hate sex

So my last boyfriend used me for sex for 2 years... and stopped talking to me when I wanted commitment... he did absolutely nothing for me.. I kept giving him money, emotions and sex for 2 years in the hope of getting love ..I’m still recovering from this heartbreak.. but now I hate the idea of sex .. it’s been 4 months or may be 5..I start crying by the thought of it.. i cannot stop thinking about how he used me ...I feel so vulnerable and stupid and I feel all men just use women for sex... my whole body starts aching.. I feel disgusted..tears roll down my eyes even when I think of him..is it normal? What can I do to move on