What steps would you take to clean a dataset that has missing or inconsistent values?

Technical