At the top of your Outlook ribbon, select File. If your ribbon doesn't have a File option in the top left corner, you aren't using an Outlook app installed on your computer.
Select Open & Export > Import/Export. This starts the Import/Export wizard.
Select Import from another program or file, and then click Next.
Select Outlook Data File (.pst) and click Next. Browse to the .pst file you want to import. Under Options, choose how you want to deal with emails and contacts, then choose Next.
If a password was assigned to the Outlook Data File (.pst), enter the password, and then click OK. If you're importing the contents of your .pst file into your Microsoft 365 mailbox, choose that mailbox here. If you're NOT importing into your Microsoft 365 mailbox, choose Import items into the current folder. This imports the data into the folder currently selected.
Click Finish.