Brake lights and hazards not working! Help

Someone else on this forum can get specific. I have not replaced one in years, so I don't remember. Get a factory service manual if you don't already have one. Do some testing first before going to all that trouble.