Why are my lower brake and turn signals not working

i was having problems as far as my battery. a couple of days prior to

having the light problem i would go to start my car and the it was dead so i had to get a jump. then suddenly one day i go to use my turn signals and they dont work. i assumed that the brake lights were also out. i checked and the upper brake in the back window worked but no lower tail or brake lights or turn signals. i tried my hazard and they worked. i checked my fuses and just to be sure they were good i went ahead and replaced them. checked the connections for corrosion and they were good. the next day i go to move my car and suddenly the brake lights and signals are working again. please help i dont want to be suddenly stranded somewhere. thanking you all

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0

crwdns2942205:01crwdne2942205:0:

might be a loose wire, or a relay issue. Have you had your car scanned for codes, if not do so.

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

crwdns2934285:0crwdne2934285:0