Repent is the command of the Gospel that must be obeyed.
Repent means to "turn to God" in submission to Him as Lord.
If we are called to "turn to God" then by default we are called to "turn away from Satan" as our lord.
The way we obey the Gospel command to Repent, is to confess Jesus Christ as Lord.
that if you confess with your mouth the Lord Jesus and believe in your heart that God has raised Him from the dead, you will be saved. For with the heart one believes unto righteousness, and with the mouth confession is made unto salvation. Romans 10:9-10
This is the Gospel Jesus sent His Apostles to preach.
Then Peter said to them, “Repent, and let every one of you be baptized in the name of Jesus Christ for the remission of sins; and you shall receive the gift of the Holy Spirit.
Acts 2:38
JLB