I haven't used Team Viewer in about 2 months and I have forgotten my password.
Thank you for your message.
If you have forgotten your TeamViewer account password, you can reset it here: I forgot my password
If you have forgotten the personal password that you have set up on your remote computer, you need to change it locally on that remote computer.
You will find all the information you need in our Knowledge Base article here: Personal passwords.
I hope this could help. If not, do not hesitate to ask your questions here.