First of all, it is very important to read more books, understand what poetry is, and establish a correct aesthetic of poetry, because your aesthetic height determines your creative height.
Second, find the language of poetry. If writing poetry is building a house, language is a brick. You should find the right brick. You can't write poetry in the language of writing novels or essays, which is wrong.
Finding the language of poetry is only a stepping stone to poetry creation. This is the first step to start. Next, you should learn to express it accurately in words. Accurate expression is very important. Many people are too focused on the oneness of language, writing a bunch of inexplicable sentences and wasting time.
When you can express it accurately in mature language, the problem of "how to write" has been initially solved, and then you have to start thinking about "what to write", which is very difficult. You need to have a deep insight and analysis of the world, life and your own heart, and then extract the most touching part, so that the content can be shocking.
After solving the problem of "what to write", you should go back to "how to write" and establish your own language style. This is a painful, long and ever-changing road, which needs your whole life to pursue.
If you do the above, you will basically have the qualities of a poet, but whether you can write a good poem that will last forever depends on your talent and experience. If learning to write poetry is a process of crossing the river, ordinary people need to paddle to the other side, but for a talented person, he can go ashore in one step. Don't ask me why I say that, because I have been beaten by those children many times.