Could masturbation be the reason that you can't cum after sex?

I've been masturbating since junior highschool, so I have a boyfriend now and I have a problem because I don't know how to finish the thing because I can't cum. I think I'm dependent on masturbating, do you think I am?