You can remember the meaning of 怎么 with this easy mnemonic:
How (怎) and what (么) did you have to do to convince the boss to give you a raise?
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.