Are you still stuck? Is it the pistol or the rifle?
Since you say very beginning I’m going to assume it’s the pistol. Keep running right until you can’t go any further, go back a little and shoot the three red lights and the door will open.