Please do a little research before you post. Any previous threads or United.com are your friend.
United upgrades elite members free of charge on flights within the USA, Canada, Mexico, and Micronesia for the most part.
On all other flights you need to use miles+money, a Regional Premier Upgrade, or a Global Premier Upgrade.
Again, a few minutes research will find you the details.