First you have to make a decision as to whether you want to take photos of the planets and Moon, or if you want to take photos of nebula, star clusters, or galaxies.
I make some assumptions that you’re familiar with Astronomy, possibly already have a first telescope, and are ready to start taking some images.
There's a few things that need to be covered here as a starting point. Recommendations for your start in imaging on the Mac