What is the best way to learn academic writing?

Firstly, you should read this guide to learn Academic Writing
essentials.

Secondly, you should improve your research and analytical skills.

Thirdly, practice. The best way to learn academic writing is actually to write academic papers. Hours of painstaking practice is the key to success.