Orgasm problem????

So no matter how I do it whether it’s to myself or having sex with my girlfriend my orgasms last legit like 2 seconds.... it would feel really good leading up to it then as soon as I let go it goes away even if I try going longer it all the feeling stops... am I doing something wrong or is that just how I am?