How to drop observations with frequency less than 2

#1
So I have a variable that I want to filter by dropping observations that have frequency less than 2. I hang around for a while but I don't figure out how to do that, please help. Note that it's the frequency, not the value.
Thanks.