EventActorBeginOverlap collides with bullet instead of enemies

I am using UE 4.18 to develop a shooting game called as StartGame. I was going to use EventActorBeginOverlap to test the string but it happens when the ship collides with a bullet instead of colliding with enemies. How can I change it?