It’s a long and costly process. We did all the patents to prevent the copy from our competitor and it works well.
The most important thing is the writing part from the lawyer (make sure to hire a good patent lawyer), which stops any design similar to the patent. We and our competitors always search the patent for the design to avoid the lawsuits.