People masturbate when they're single and when they're not.
Masturbating may make sex acts better when you're with a partner.
Masturbation can be a great way to meet sexual needs when you're not in a relationship.