Dpkg was interrupted

How to fix “dpkg was interrupted, you must manually run 'dpkg–configure-a’to correct the problem”?

Please share screenshot or steps when you get this issue.