You will need to obtain a USB SD Card Reader and insert the SD Card into it then connect to your computer. Under no circumstances should you do anything that will write data to the SD Card as it may overwrite the data you want to recover. You could try using either of the programs you mention but make sure you install them on to another drive, not the SD Card. What you can recover will depend on how it was corrupted in the first place.
Huawei Mate 20 Pro review: In-depth hands-on