If you have the opportunity play against real opponents. Bots nowadays play very similarly to humans but their style it is still somewhat strange.
I do not recommend taking back moves. Chess teaches you to think ahead and take responsibility for your moves. If you make a mistake carry on with the game and see how your opponent trys to win. This way you can learn how to win those positions. You should still think and play the best moves to learn how to make your opponents job more difficult. Sometimes that way you may even make a draw or even win.
I want to get good but I don't know if I should play agents bot of actual humans to get better?