Did you follow the Beginner's tutorial?
It has enemies, doesn't it?
First you should decide on what kind of movement you would like to use..
Then you would need an event with conditions when you want the enemy to attack and add actions what you want to do when attacking..