How to add a guard condition

I’d like to know how to add a guard condition in a sequence diagram.