You can buy parts in the store and choose which part is suitable for upgrading. You can identify whether or not it's suitable with a green arrow over the armor of your robot. If you want to upgrade your robot faster, then you should turn on the auto-battle mode so that it will serve for free.