How to upgrade is explained at the Ubuntu site at the link below. Before you jump into it, you need to determine which Ubuntu release you have since there is no "12.01". 12.04 is a long term support release and you can directly upgrade to 14.04. If you have 12.10 you can't do that but rather would have to go to intermediate releases, 12.10 to 13.04 to 13.10 to 14.04 and I'm not sure if you can do that. It would definitely take the better part of a day and it will need to be a lucky day for you.
Upgrading from one long term release to another or from one version to the next usually works pretty well, I've done it myself a few times but it's alway a risk. So check your version first.
http://www.ubuntu.com/download/desktop/upgrade