What should I do if I want to apply for a patent, but I don’t know how to write the “specification, claims, and abstract”?

"Specification, claims, abstract" are all written by the patent office

You only need to describe the existing technology, the shortcomings of the existing technology, the advantages of your product, Just describe the technical solution to achieve the advantages clearly, and leave the rest to the patent agency

Our company does this, please leave me a message if necessary