You made a mistake, playing TT from an early stage on the bubble of a medium or large tournament is definitely not the best solution. 9bb is a very good opportunity to pass the bubble and get into the money... Therefore, your knocking out is not surprising..
Of course, after a big disappointment, you should not continue playing. There are no good tips to avoid this. You should remember, not to sit down to play if your head is not fresh, there are bad thoughts or you are not ready to completely relax and look only at the table and the cards. Learn to open a client, only if you are in a positive mood. Poker is absolutely not the game, to rid you from bad thoughts or bad mood... Her will kill you even more...: (
I think, these are elementary and very simple rules for playing poker, which players constantly forget: (