first take the light and touch all wire to the battery and see if it will light up.
Take a meter and see if your getting power at taillight when your try the breaks.
How many wires are on the bike for the taillight
how many wires on the light
Please add your state and model of bike you have. Click user CP @ top of page and then far left click edit signature. Thanks