Do you use OneDrive for personal?
The free storage when you sign up for OneDrive is 5G, if your OneDrive account exceeds the free storage quota and you do not plan to renew OneDrive, please must save your files elsewhere to reduce the file storage size to within 5G.
More information, please refer to the screenshots below, they are taken from the article "About OneDrive" and "Manage your OneDrive storage and limits".
But if you use OneDrive for Business, please check out the content from "What happens to my data and access when my Microsoft 365 for business subscription ends?".
Hope the information could help you.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.