The benefits of milk thistle may be due to silymarin, an active ingredient found in the herb that is said to have antioxidant and anti-inflammatory effects.
Sexual arousal requires many processes that involve the brain, hormones, nerves, blood vessels, muscles, and emotions. A problem with any of these could contribute to ED.