It is really important what the river card was!!!
In case the board paired, and your opponent kept raising you, it is possible he has some strong full house or even quads that is within the range of cards with which villain raises river. In such case, it is perfectly fine to re-raise your opponent, go all in, and call all in as well.
In case the board didn't pair, and you opponent still raises you recklessly on the river, he is probably never
bluffing. Go for some check call, if u get raised all in, probably still a call, but if went check-call, could have saved some money
anyways, tough luck