You could fold preflop since the raise is $3 and he only has $24.75 but that's debatable. $3 is a big preflop raise at that level. If he's a tight player, then easily fold. If he's loose then this call isn't bad. Once you see the flop, you accomplished your goal by getting all your money in with a boat.