Forgotten password for wallet. Must a password be entered before spending? I was about to spend some bitcoins but Bitcoin Core required my password, which I don't remember, to complete transaction... The wallet is open but cant use bitcoins.
I would like to know if before ANY transaction, you must ALWAYS enter password. This is the first time I try to send bitcoins so I don't know how this goes...
Thanks.
Learn from other people's past mistakes
Some good advice is at https://bitcoin.org/en/secure-your-wallet#encrypt

Encrypt your wallet
Encrypting your wallet or your smartphone allows you to set a password for anyone trying to withdraw any funds. This helps protect against thieves, though it cannot protect against keylogging hardware or software.
Never forget your password
You should make sure you never forget the password or your funds will be permanently lost. Unlike your bank, there are very limited password recovery options with Bitcoin. In fact, you should be able to remember your password even after many years without using it. In doubt, you might want to keep a paper copy of your password in a safe place like a vault.
Use a strong password
Any password that contains only letters or recognizable words can be considered very weak and easy to break. A strong password must contain letters, numbers, punctuation marks and must be at least 16 characters long. The most secure passwords are those generated by programs designed specifically for that purpose. Strong passwords are usually harder to remember, so you should take care in memorizing it.

Notice that second item.
Once you set a password, which you definitely should, it is important to never forget your password. This is why people use password managers and make backup copies in secure places.

What next?
If you have some idea of what your password might have been, you might try recovery tools such as btcrecover. (not an endorsement, other tools exist, take extreme care choosing tools)
If you care about your money ...

Only download tools from sites you are 100% certain of, Check carefully.
Compile any tools from source code if you can.
Never give any potentially sensitive information to helpers. Treat all helpers as if they were thieves (almost all people offering to help will in fact be confidence tricksters). A genuine helper never needs to know your password or any part of it or anything about it. A genuine helper never needs any kind of access to your PC. A genuine helper never needs to create a wallet for you.
It is better to spend time learning how to do things yourself with no active participation from any helper. A genuine helper needs no more information than is already in your question above.
Don't attempt recovery on any computer that has ever been used or accessed by anyone else in the past.
Don't attempt recovery on any computer or device that is connected to the Internet.