Yes, it is important to know how to play AA, just like any other pair of cards. And you have to realize that this is just a pair that only has 2 outs. If you have a head-up situation preflop, you are ahead, but if you have several opponents, you are screwed

, Additionally, the flop will change everything for you completely, if it is in one suit that you do not have, and allows straights, you are in a difficult situation. So it's best to go all-in before the flop and not give your opponent a chance to see the flop too cheaply.