To take the whole assembly out, grab both sides with your hands and pull out. The assembly should slide right out. To take off the cover to access just the bulb, there are 2 tabs on each side of the housing. Use a flat blade screwdriver and pry open the tabs gently. Over time the whole brake light assembly gets sunburned and VERY fragile! So be careful and proceed with caution.
Edit: Got beat.