A full trap can easily be replaced with a new one. If you are bothered by small flies in and around your trash can or fruit bowl, they are most likely fruit flies. The pests are attracted by the yellow colour of the trap and stick to the glue layer.
eBay