How to use decode function in sql server in where condition

I have used isnull() function and resolved the issue. Thanks