Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
You can refer to the article provided by TkUjala.
The general steps are as follows:
Step 1: Buy a Microsoft 365 for business plan
Step 2: Create user accounts
(If necessary, you can migrate outlook and OneDrive data).
Step 3: Cancel your Microsoft 365 Family subscription
Step 4: Get a refund for the remainder of your original subscription.