When self masturbating how can I make my orgasm last longer?

Try it in the shower. Standing in tepid or cool shower might do the trick.
See a therapist. If this is an issue for you then you should see a therapist to be evaluated for anorgasmia, anxiety disorders, or other related problems. Techniques may be suggested such as "edging", controlled breathing, or psychiatric therapies.