Lots of good advice already. Loose and agressive players can be difficult to contend with, especially if they have direct position on you. But its important to not them let frustrate you. Instead you need to develop strategies to beat them. In cash games the best strategy can actually sometimes be to leave the table and try another one. In tournaments thats not an option, and if you got a "bad" seat to the left of a loose and aggressive player, who have perhaps even managed to build a big stack, often you just need to tighten up and hope, that he either lose his chips, or that one of you is moved to another table.
Its important though to note, that not all loose and aggressive players are the same. Some are actually very good players, who use aggression in a very calculated way. It might seem that way, but they are not actually "playing almost every hand" at least not over a meaningfull sample size. They might loosen up, if they are the chip leader and can exploit risk aversion from other players, but if the situation change, they move back to more normal play. These players are often referred to as LAGs, and a good LAG is someone, you basically want to try to avoid as much as possible.
Others though are actually just splashing their chips around, and these are some of the most profitable opponents, you can meet at the table. They are often called donks, agro fish or maniacs. And against these players you just need to accept, that they will increase your variance and not let them put you on tilt. Maybe you make a stand by 4-bet jamming AJ, when they 3-bet you (yet again), and then they flip over KK and knock you out of the tournament.
And this is ok. If your read was correct, you just happened to run into the absolute top of their range, and of course even the wildest player will sometimes wake up with cowboys or flop a set, or whatever it is. Thats fine, and you should just reload, if its a cashgame or buy into the next tournament. Losing to a wild player should not put you on tilt, but if it does, then take a break, however long or short it needs to be.