Oracle Message ORA-38707 - Media recovery is not enabled.

ERRORMedia recovery is not enabled.
CAUSEAn ALTER DATABASE FLASHBACK ON command failed because media recovery was not enabled.
ACTIONTurn on media recovery with an ALTER DATABASE ARCHIVELOG command and then retry the command.