Start with the simple things john
The handbrake light will flash if the brake fluid is low,also try checking the switch on the handbrake which could have a wee stone or something jamming it on
The 4wd check the fuses first including as already mentioned the fuse for the brake lights . It also might be worth disconnecting the switches at the top of the brake pedals which work the brake lights and engage 4 wheel drive for braking
There are more things it could be but that would be a start
The handbrake light will flash if the brake fluid is low,also try checking the switch on the handbrake which could have a wee stone or something jamming it on
The 4wd check the fuses first including as already mentioned the fuse for the brake lights . It also might be worth disconnecting the switches at the top of the brake pedals which work the brake lights and engage 4 wheel drive for braking
There are more things it could be but that would be a start