Headphones will always be provided for IELTS on computer.
For IELTS on paper, headphones are used in some countries, but not a requirement for all IELTS test centres.
You can ask your centre to use headphones or special amplification equipment to help you hear the recording, but you will need to ask at least two weeks before your test date.