You compete by selling yourself.
If you have a track record of lots of sales, or quick sales, sell that.
If your parent company is dominant in the area, sell that.
If you've lived in the area a long time, sell that.
If you're of a particular nationality or ethnicity (within the bounds of the Code of Ethics), sell that . . . presumably to others of a similar nationality or ethnicity.
If you're a part of a team, sell the benefits of a team.
If you're just an individual competing against a team, sell the benefits of personalized service.
If you're older, sell the benefits of experience.
If you're younger, sell the benefits of freshness and enthusiasm.
If in your previous life you were an accountant, a teacher, a military officer, a company executive, or whatever, sell that experience.
If you're with a full service (and full commission) brokerage, sell the benefits of full service.
If you're with a discount brokerage, sell the benefits of a discounted commission.
If you've got additional credentials, sell the benefits of those.
If you walk into a listing appointment and see that the sellers are fans of a particular team (and you happen to be, as well) sell that common interest.
If your brokerage is part of a franchise, sell the advantages of listing with a franchise member.
If your brokerage is locally owned, sell the advantages of listing with a locally-owned company.
It all comes down to selling the benefits you have to offer. No need to knock the competition. Any agent today can look through the list above and find 3, 4, 5, or more strong selling points. It's not rocket science. But it is effective and it is good business.