1. Read.
Start reading and don’t stop.
Read all the “greats,” but don’t skip the more obscure writers. Read magazines. Get yourself a library card if you don’t have one, and if you can’t do that, check Google Books and Google Magazines.
The idea isn’t to imitate, but to simply know what — what genres, what styles, what writers — came before you, as well as who your contemporaries are.