Masturbation vs sex

When I masturbate I can give myself multiple orgasms, but when I have sex with my boyfriend if I have one then I’m done and I really don’t want to resume sex any longer? I have no clue why and I’d like to change this. Anyone have any advice?