Welcome to Android Central! More details would help, like which phone you have, and when this happens.
This error often happens when a media file has become corrupt. If you have an SD card, it's more likely to be a file on the card rather than internal storage. Try unmounting the card, removing it, and inserting it in your computer. Then run chkdsk to look for bad sectors or bad files: https://forums.androidcentral.com/a...guide-using-chkdsk-fix-corrupted-sd-card.html