Am I ace if I still masterbate?

I'm not exactly the perfect asexual. I've had a period in my life where I've been extremely hypersexual. I've put myself in terrible dangerous situations and most of time I've only had sex when not sober. Anytime I think of having sex when I'm sober I want to puke. I feel so repulsed by it, and any time I do I hate myself. I feel violated and disgusted. I started thinking I'm ace about a year ago but I still enjoy masterbating and I'm super confused about it. Help? Idk how this works