Mayn jab bhe defragmentaion karnay lagta hooon toh yai error atay hayn

1.Disk Defragmenter has detected that Chkdsk is scheduled to run on the volume: (G.Please run Chkdsk /f
And when i try to format it message comes like:

2.Windows cannot format this drive.Quit any disk utilites or other programs that are using this drive,and make sure that no window is displaying the contents of the dirve.
Then try formatting again.

is ka koi solution?