Why can’t i orgasm

So I can orgasm by myself when I master bate, but I can’t when I have sec every time i get close that feeling just goes away, it’s like a cycle it the feels comes back and goes away

What can I do to fix that??