Forget the incident like a nightmare. The past is over.
Forget the incident like a nightmare. The incident that happened in the past is over.
Is the sentence correct?
No. Try:
Forget about that nightmarish incident. It's all in the past.