Before you do anything else, pray. Ask the Lord to show you any wrongdoing on your part, and deal with that appropriately. Then ask Him for guidance on how to deal with the particular issue.
If you have a dispute with a fellow Christian, go to them personally and privately and try to work things out. Seek reconciliation for the sake of the Christian body. If they won't hear you, there are further directions in Matthew 18:15-17. Do everything in your power to avoid going to court against another believer, according to 1 Corinthians 6:6. Rather be wronged and trust the Lord to make it right.
If your dispute is with a non-Christian, follow the same principles. The only difference is that you may take an unbeliever to court... but you also can entrust the matter to the Lord.
Whatever you do, don't broadcast the issue. That only causes division and strife, and makes you look like a gossip.