You short circuited the tail light wiring?
If the bike worked before you worked on it, and you only worked on the tail light, and now the fuse blows, it is pretty good odds you wired it incorrectly. Taillights usually have 3 wires. Ground, Brake, Tailight. If you replaced it with a 2 wire unit, or confused the wires, you may just be shorting the light circuit to ground.