Are you getting a running light and no brake light or no light at all.
In either case I would check the bullet connectors that connect the tail light to the rest of the wiring harness. They are located under the rear plastic and ziptied to the frame. I am guessing one could have come loose.
they should look like