After getting the notice of publication of the application for a patent for invention and entering the substantive examination procedure, what other work needs to be done?

and other review opinions. If the review opinions are rejected, you need to reply.

In reply, according to the examiner's opinion, either explain his query or modify your claim and give an explanation.

Note that only the claims can be modified, and the specification cannot be modified. If you put forward a new claim, be careful not to deviate too far from the specification.

the examiner will not question your instructions, he will only question the claims.