It's true that when he checkraised you, you should've thought "hmm... he hit the board hard or he's bluffing..."

Raise moe preflop to take away his odds