By using reported speech, we report what another person has said. It means we do not use his/her exact words. Therefore, you need to learn how to transform direct speech into reported speech. The structure is a little different depending on whether you want to transform a statement, question or request.
These exercises will help you with reported speech:
English Grammar 4U
Agenda Web. Hundreds of exercises.
English exercises online