My WD 1tb is now 31,8 GB

My WD my passport ultra 1tb is now 31,8 gb,how to restore it like it was before?

Hi,

I request you to test the drive health status through Western Digital Dashboard.

Title: Testing a drive for problems using The Western Digital Dashboard

Link: [Testing a drive for problems using Western Digital Dashboard]