Praying the Lord’s Prayer every day helps to get that guidance. It says “lead us not into temptation, and deliver us from evil.” (I choose to say “protect me from evil” which is to say, to avoid it rather than be in it and have to get out of it”. I think it is wiser.
The whole prayer is in Mathew 6. “Our father, who art in heaven, hallowed be thy name. Your kingdom come your will be done on earth as it is in heaven. Give us this day our daily bread and forgive us our trespasses as we forgive others their trespasses. And do not lead us into temptation, but deliver us from the evil one. For yours is the kingdom and the power and the glory forever. Amen. For if you forgive men their trespasses, your heavenly father will forgive you yours. But if you forgive not their trespasses, your heavenly father will not forgive yours. Matt 6:14-15
You can read