There are two ways. One is to apply for a patent. Once you apply for a patent for something you invented, others cannot make it. If you want to build it, you need your consent, and you can charge him a fee. This is to protect intellectual property. But in reality in China, there are too many infringements, and you will definitely not be able to win the lawsuit one by one. For example, among the Pleasant Goat toys sold all over the street, how many are licensed by Pleasant Goat Company?
The second way is that what you invent has a very high technical content and cannot be built if others cannot imitate it. For example, there are only a few companies in the world that can make computer chips, and you don’t have the technology and equipment to copy them. This requires mastering core technologies.