See if the other party is willing to pay compensation. If the other party is unwilling to pay compensation, then you can file a property right lawsuit with the intellectual property court to sell an infringing trademark. In this case, you can ask the other party to pay compensation for the actual loss and stop the infringement.
Legal basis:
Article 53 of the Trademark Law
The administrative department for industry and commerce may take the following measures to punish infringing goods.