54 On this point it should be noted, as indeed the Fathers and Doctors of the Church teach, that we can more easily struggle against and repress the wiles of evil and the enticements of the passions if we do not struggle directly against them, but rather flee from them as best we may. For the preserving of chastity, according to the teaching of Jerome, flight is more effective than open warfare: "Therefore I flee, lest I be overcome." Flight must be understood in this sense, that not only do we diligently avoid occasion of sin, but especially that in struggles of this kind we lift our minds and hearts to God, intent above all on Him to Whom we have vowed our virginity. "Look upon the beauty of your Lover," St. Augustine tells us.
Source: Sacra Virginitas (Vatican.va)