if they have a set and you have 2 pr you should probably fold, yea, I'd fold and wait for a better spot. I generally like to have the set when they have the 2pr.
Here's a HH from my PT database
I raise AA to $4, BB calls
Flop comes A87
BB bets $7, Hero raises to $25, BB goes all-in, Hero calls
BB shows 87
That's the kind of hand you should be looking for, yea, get more hands like those in your database and you'll be fine.