Substack and WordPress are two different content publishing tools. They don't work together and some would say they are competitors. However, you can migrate content or cross-publish from one to the other.