Welcome Ruuvan, I'm glad you're enjoying the game.
And don't worry, you won't be steamrolled. You will only face players with a similar strength to yours.
After each battle you will have Attack Protection that gives you a little time to rebuild.
You can also opt out of battle by paying off any attacker with resources.