Pregnancy after C Section and D&C?

Is it possible or safe to get pregnant after having had a C section and 3 years later having a D&C? I was 9 weeks during my D&C. My C section was in 2015. My D&C in 2018. I want to get pregnant again but am worried about the scar tissue causing issues?