Your apartment number is correct, but the letter is addressed to someone who lived there before you. Leave it sealed. If Japan Post delivered it, contact the post office that handles delivery to your address and explain that mail for a former resident is still arriving. For a private courier, contact the company named on the label.
Check the name, address and carrier
A correct unit number with another person’s name is different from a letter showing a different unit entirely. Tell the delivery office which situation you see. Have the envelope handy so you can read the printed address or tracking number if asked. Japan Post’s guidance for previous residents’ mail.

What to say to the post office
前に住んでいた方宛ての郵便物が届きました。住所と部屋番号は合っていますが、宛名が違います。どうすればよいですか。
“Mail for the previous resident arrived. The address and unit number are correct, but the recipient’s name is different. What should I do?” If it has happened more than once, add 「同じ方宛ての郵便物が何度か届いています」 (“Mail for the same person has arrived several times”).
If you opened it by mistake
Tell the delivery office it was opened accidentally. Japan Post’s guidance includes repairing the envelope and marking that it was opened by mistake, with your name and address, if you use its mailbox return method. You can contact the delivery office for instructions. Japan Post’s accidental-opening FAQ.
If you are unsure which slot belongs to your unit, see how to confirm your assigned apartment mailbox.

