What you should do is watch your table, see which players are tighter, or looser, you should adopt different strategies against them, be more aggressive playing against tighter opponents, and extracting the maximum from looser players, but we must not leave going all in, this move is very deficient, because we have to know how to fold AA, KK the premium hands, when the connection of the board does not favor us. Note: when we face a raise and we have a stack of 20bbs it will always be more profitable to play all-in with these hands vs looser players, and against more restrained players a 3bet of 2.2x-2.5x is a good move too, already deep stack is not good to play all in.