In this case, if you want to produce your own patented product, you need to sign an implementation license with the patentee of that patent before he can allow you to implement his patent!
Generally speaking, if the interests are equal, you can sign a cross-license, that is, allow the other party to use their own patented technology.
The above situation is under the premise that the other party's patent right is valid. If the patent right of the other party is invalid, there is no infringement.