Just use a knife clean the paint off.
Or buy another one and reconnect the wire the same way as before.
If you are in a new house, only two wires are used. If you are in a old house, there could be four wires. Most likely you only need to use the red and and green wires.