Public Repentance
It really depends upon the sin. If the sin is only towards God, then one needs to only repent to God. However, if the sin is also towards the society, then it one must not only repent to God, but also to the society and mend his way. You might find the following video helpful: https://youtu.be/2-w7QrG2E5o