Depends from the period when im getting AA. If its cash game I do 3 bet preflop, after im continuing with betting if the board it's clear. If there is chance for flush and i'm not having any suit, then i'm little careful with the betting.
Worst is when the opponent have monster on flop and you have AA, then if you are re-raised and the board is 4 7 10 , you are assuming that he is holding pair bigger then 10 and you're continuing to all in maybe.
This is a most difficult part for you with the rockets to guess what is he having, bigger pair or monster. Its all in situation here, but you must know your opponent style of play. In the tournaments if I'm in the beginning I 3-bet always before flop and continue to bet after flop. If its late stage of tour, close to ITM, or at final table depends from what my mind will decide. In some cases I'm going till the end with strong guess that he has nothing or smaller pair then mine. There were moments when they catch monster on flop and I'm busted, but what could you do, like in life, same in poker, sometimes you win with 2's sometimes you lose with NASA 😀
Here is example from yesterday - this time luck on my side.