Yes, your first responsibility is to eliminate a hazard if you can.

Of course, in some cases, you'd have to report it if you couldn't fix it or are not allowed to (e.g. electrical wiring.)

You're ready to go on.