First, register a new trademark and stop using this trademark name. The second is to communicate with trademark registrants. If the other party is willing to transfer the trademark to you, you can continue to use it. Since the trademark has been registered by others, you have no exclusive right to use the trademark, and arbitrary use will cause infringement.