I tried to replace a socket on a small lamp. As far as I can tell I did the basic steps correctly - connecting the wires to the correct screws. Pictures below
When I replaced the cover and tried plugging it in it blew a fuse.
Any ideas of what could cause that or what to be checking?