To take cover in GTA 5 on PS4, simply press the L2 button on your controller when nearby a suitable object like walls, vehicles, or structures. Your character will then take cover automatically.