My Passport 5TB problem

Hi friends,

I have purchased one WD portable hard disk in the month of September 2020. The capacity of this drive is 5TB and the amount of stored data is around 500 GB, but my hard disk is hanging regularly, even if it is connected to my PC and whenever I start my PC the PC does not respond. It responds only after disconnecting the hard disk.
Can anyone provide solution for this problem???