Disk space critically low

I got this:

Disk space critically low

along with some other text saying that old terminal [something] would be deleted if needed to clear up space.

What is this and how can I resolve this issue?

I checked my storage and I have about 50gb left…