'Ought to' does not backshift.
Previous Question
He said, "I would like to help."
Next Question
He said, "I need to rest."