You might need to move some of your large data files to an external usb hard drive or flash drive.
It is generally considered optimal to always keep at least 15% to 20% of the Total Drives’ Capacity to be kept as Empty Space, to allow the system to do its general housekeeping tasks. Allowing the computer to drop below these levels will eventually cause reduced or poor system performance.
The following links can assist in identifying what is taking up space on the Internal Drive and provide possible ways to remove data that is using excessive amounts of drive space.
➡️ Rebuild the Spotlight index on your Mac
➡️ What is “Other” storage on a Mac, and how can I clean it out?
➡️ Free up storage space on your Mac
➡️ How to delete Time Machine snapshots on your Mac
➡️ See used and available storage space on your Mac