It might help to think of four reasons to raise when you have a decision to make:

1) Raise to build the pot
2) Raise for isolation
3) Raise to define opponent’s range of hands
4) Raise for deception

When would you do each of the above? I might want to build the pot if I believe I have the best hand at the moment.

I might want isolation if I hand a strong hand that doesn't play well against many players

I might raise to define a players holdings, if they were the right type of player (you don't get much info from a calling station.)

Sometimes you might raise for deception (blinds steels, etc.)
I would think of these and see if you want to raise AK on the button (you want to raise.)