Every temptation to sin is a choice to do wrong, with an emphasis on the choice. The allure of pleasure or the provocation to act contrary to God’s Word may be strong, but the choice remains.
Until you make that choice, you always have another choice: retreat. Get out of there! Retreat is your “way of escape” that Paul speaks of in 1 Corinthians 10:13.