Hey try looking here for a simple FPS tutorial How to Create a Simple FPS in Unreal Engine 4 | raywenderlich.com
The idea behind shooting turret is the same as shooting gun in FPS. Only difference is that you first need to detect whatever you wanna shoot at, then rotate your turret to face the target (for example use Find Look at Rotation) and then shoot.
Hope it helps