You cannot 'compact' or 'repair' Oracle databases.
You could re-organise the database by making an export, dropping all tables, recreating all tables with better storage and then re-import the data. But that's a time consuming action.
What also helps is rebuilding the indexes.