it really depends on that player that reraised you preflop. You were there for awhile and knew his style. If he was tight, you should probably just fold preflop. if he was a donk that raises like crazy, then your play really wasnt bad