I've also faced this error one time before. At first, I would recommend taking is to access Windows Service by pressing Win + R, type services.msc). Then find "windows management instrumentation" and restart it. Also, try to restart IP Helper (iphlpsvc) & Security Center (wscsvc) services.
Find out more information about this error at this guide- https://www.devicetricks.com/wmi-provider-host-high-cpu-windows-10/, I found it on Google.com!