Is it an orgasm?

Hello!

When I'm having sex or masturbating I start having a feeling of something building up but then it just stops out of nowhere..... Is it an orgasm? (🤦🏻‍♀️😳)

Thank you for your help!