We only need to ask God for forgiveness and He will forgive us. We only need to repent and we are restored. But dealing with people is not so straightforward. We can pray that people will forgive us but people are not obligated to forgive us and often they will not.
Often we need forgiveness. We can find that in Jesus Christ. Often we want people to forgive us. We can’t count on that.