You should read your man page for 'find', since usage varies across *nix flavors. In particular look at parameters ctime, mtime, and atime.
But something like:
To remove files older than 30 time units (days, maybe hours, see the man page).
Once you understand what the proper command is, you will probably want to schedule it via cron.
Guy