If we are literally speaking of judging someone, let it be done with understanding. Discerning the causal factor for their decision, beyond fleshly delight. Let compassion well up in you and if you judge, let it be done with correction and restoration in mind.
“There is a better way!”, ought to be the cry they hear, that you, as even the Holy Spirit does, grieve for others and their decisions. Before Israel stood life and death and God implored that they choose life! So should we encourage people to walk righteously.
Why suffer needlessly? The penalty for sin is death, and what momentary pleasure is had quickly fleets, into a spiral of never ending hunger. You starve, never truly being satiated. A hunger only delivered from by God, as He satisfies the soul and makes us new creations, able to walk in love.
This love, this love, is beautiful and where sin was only pleasurable for a moment, love is lasting. Righteousness endures. There is peace to be had that no sin can offer, and that peace is found in love, and that love is found in God.