Can’t orgasm

I don’t know why I can’t have an orgasm my boyfriend and I were you know doing some foreplay it felt sooooo gooood and I felt like it was so close but no matter what he did I couldn’t cum I was so into it but it was good but nothing what should I do I only cum when I’m on top