I was a huge chipleader when I was playing yesterday. Then dealer deals me AKs and my opponent (which was very loose) goes all-in. I thought that it was my chance. So I called him. He had AJo and he won me with a pair in river

.
A few hands later I had AJ and I called 8bb raise and hitted trips. (FLOP AA10) my opponent thinks that possibility to an ace is so little that he goes all-in with QQ. And of course I called him. River comes with Q and he wins me with full-house.
then i had only 0.5bb in small blind so my tournament ended there.
Any tips for me?