Hi and welcome to the communities,
If you have a vCenter and at least the ESXi standard license, you can perform a storage vMotion while the VM is running.
If you don't have that, you need to shut the VM down and do a cold migrate. For both way, right click the VM and select migrate. In the next window choose datastore and follow the wizard.
Regards
Tim