My external hard drive was formatted after I downloaded Mac OS software to it.
When I had a problem downloading the Mac OS to my iMac , I thought I would download it on an external hard drive to make it work. but unfortunately after the software was downloaded I found out that the operating system overlapped my hard dive and formatted it, and it is APFS format. how can I restore it ??
iMac 24″, macOS 13.2