Check brake light switch - could be defective or not aligned properly
how to change a brake light on 2002 Nissan altima
Call the dealer and find out!
low brake fluid
According to the owners manual for Nissan Altima 2007 it is DOT 3.
Most likely not as those 2 models are total different generations.
brake light and battery light is on
how to change the brakes
The Nissan Altima has an opaque cylinder that holds the brake fluid. Looking on the side of the cylinder, check the high and low marks and make sure that the fluid is between the two.
Any DOT 3 Brake fluid
http://www.paulstravelpictures.com/Nissan-Altima-Rear-Brake-Light-Bulb-Replacement-Guide/Nissan-Altima-Tail-Light-Bulb-Replacement-Guide-011.html here you can see every step to that question.. I just did it.. and works :) by Paulo Fernando!!
smash it in wi a hammer
Press the pedal in again