I can’t access my hard drive after formatting

I’m having a problem with my hard drive and would love some help

So I’ve had this hard drive for awhile and it worked perfectly until I plugged it into my Xbox to save game progress I had to format it which wasn’t a problem as I didn’t have anything on it at the time

After that when I would plug it into my pc the light would flash and it would let me eject it but I couldn’t access anything on it and I’ve tried almost everything