This is my most experienced matchup, as I frequently fight the best Docs in the Houston area...just so you know that I'm legit. It's good that you do a reversed recovery, that is the first thing to get in the habit of. However, that isn't his best edgeguard against ganon. Doc can do a triple bair over the edge and return, edgehogging Ganon immediately afterward. To counter this, you just have to learn to time your Fair or Uair just before he reaches you. It's difficult because the bair has such great range.
If doc spams bair while on the stage, just turn around and antihop Bairs, because it WILL outrange docs bair. Doc's sex kick is definately a killer, because it gets stronger as it flies, and it can fly right through Ganon's fair easily. However, if you retreat your fairs, it will either hit first, or you will both hit. Either way, it will scare Doc out of trying that again, since the Fair's trajectory is more of a killer than doc's neutral A. If you do happen to get hit by the kick, there isn't much you can do to prevent a combo afterward if your damage is low.
When the Doc you fight gets better, you will most likely have to learn to deal with his chain grabs and pill spamming. When you are getting chaingrabbed, just make sure you don't jump out of it into a Doc punch, its best to just land and tech in a safe direction. To stop pill spamming, just break the pills with neutral-A and ftilt, and Bair will often hit a pill and Doc's face if you are close enough