What's the easiest way to fix this simple Christmas bulb issue?

We have a beautiful wreath we put up every christmas. Two wires go into each bulb but a part of the housing broke off and one of the wires came out. I did put the wire back in but it flickered. Should I buy conductive adhesive and what if they still flicker? Any suggestions on a better fix?

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0