Oracle Solution for Error ora-01181

Solution for Oracle Error ORA-01181

ORA-01181: file string created before last known RESETLOGS, cannot recreate

What triggered the Error:

Attempted to use ALTER DATABASE CREATE DATAFILE to recreate a datafile that existed before the last known RESETLOGS.

What should we do to fix it:

Find a backup of the file, and recover it. Do incomplete recovery to time before file was originally created.