how do i make enemys attack me?

how do i make enemys

Call them rude names.

Sorry, I couldn't resist.

Check out the 3D Platformer tutorial. It walks you through how to make an enemy and have it attack.