how do I learn flute?
Flute is a musical instrument. It requires a lot of practices to play it well. Here are a few ways:

find a good teacher that has rich experience about how to gradually play with it and follow instructions

find materials online about different people's learning schedule and experiences

practice a lot. practice makes perfect. and continuous practice is more important

Also another important thing is to love it and enjoy the learning experience. It creates the intrinsic motivation which is more important.