I would go by 5/10 rule while playing sets buddy.The 5/10 rule implies that you can call a raise with a pocket pair if the raise is less than 5% of your effective stack and that you have to fold if the raise is more than 10% of your effective stack. If the raise is somewhere in between, you will have to rely on your own judgment. With effective stack I mean the stack that can effectively end up in the pot. If player A has a stack of $50 and player B has a stack of $30, none of the two can win more than $30. The 5/10 rule is about implied odds
. If your opponent has a shortstack, or he raises more than 10% of his stack before the flop, your preflop call is no longer profitable. If, on the other hand, both of you have large stacks in front of you, you can always call with the goal of winning his whole stack.