This saying is used in reference to having sex either with someone or by yourself.
Joe hasn't had sex in so long he's usually busy getting busy with himself.