Masturbation

Is it still okay to masturbate while you’re sick?