Brake lights and hazards not working! Help

When does it have power on both sides? Not sure but I think it matters.
I’ll double check. I think it was when no pressure was applied to pedal but can’t remember now