With good hands I play aggressively, but always poker gives the best card on the board to rivals
No this is not the problem. The problem is tilt and bad bankroll management, and often those two are closely related. My advice is to play on
pokerstars and use their option to limit your own game selection. You go into "Tools", "Responsible Gaming", and then you set some limits, which are reasonable for your bankroll and skill level.
Lets say the balance in your account is $370, and you are mainly a cash game player. Then you set "Restrict Table Limit" to $0.05/$0.10 AKA 10NL, you set all casino limits to 0 and sportsbetting to 0 as well. If you are occationally going to play some tournaments on weekends, then you set "Tournament max buy-in" to $3.3 and "Sit & Go Max buy-in" to $5.
In that way you wont to able to jump up stakes to chase after losses while on tilt. If the bankroll has grown so much, that you want to take some shots at 25NL, then you change "Restrict Table Limit" to $0.10/$0.25. This takes 24 hours to take effect, and obviously its not a problem to wait 24 hours before moving up, if its a calculated and rational decision to do so.