You can resize your VM at any time. But before that, you make sure that you don't have any important data in your older hard disk. Otherwise, you will lose your data. The following command can be used to resize the VM.
$ az VM resize -g <group name> -n <VM name> <type>
$ az vm resize -g MyResourceGroup -n MyVm --size Standard_DS3_v2