When the affairs clash, one would choose the most pleasurable one. Of course in this evaluation, one must not set an instantaneous pleasure as a criterion because an affair with instantaneous pleasure might bring about great sufferings in the future.