Stop loss based on previous candles to Entry Price

how to set Stop loss based on previous candles to Entry Price