The best start is to "steal" code
Grab some small addons that only have one function and look at the code.
Some howtos
http://www.wowpedia.org/HOWTO
http://www.wowpedia.org/World_of_Warcraft_API
Next you should get a good editor like notepad++ or sth.
And when you've started come here with your problems to ask