Check engine light, oil light flashes on 2001 Honda Accord

Rookie cbe0621eac06868b3efe0d8d1d3611e23c60d3114864ea2ec19a68cfbd3eebab
check engine light yesterday, oil light today.
(1) Answer
check your oil level first. the check engine light is a failure in some system for fuel control.
you need a shop to diag the check engine light and they must also do a manual pressure test to make sure the engine has enough oil pressure to run.

2 separate problems that need attention.