You learn by doing. Find some online pub (or open source community) that will give you decent editorial support and start writing for them.
Journalism is a very large field with a history going back to the 17th century. Your question is roughly analogous to asking to recommend something about computers.