There are dumpsters throughout the game which you can use to hide. Move in front of them and press Triangle when the prompt appears. Once inside, if you have a handgun, for example The Operator, you can hold L1 to lift up the lid of the dumpster and aim your gun from inside.