To produce retroflex sounds, you need to curl the tip of the tongue up and back so that the underside would touch or approach the back part of the alveolar ridge (Yule, 2020).
Youtube video which demonstrates the articulation of [ɖ]
Youtube video which demonstrates the articulation of [ɳ]