Normally, the tense in reported speech is one tense back in time from the tense in direct speech.
See this site for a chart: https://www.ef.com/english-resources/english-grammar/tense-changes-when-using-reported-speech/
Practice here: https://first-english.org/english_learning/reported_speech/86_reported_speech_english_will_future_questions.htm
https://www.perfect-english-grammar.com/reported-speech-exercise-8.html