We need the distance to derive reddening/extinction and as a prior for SED fitting.
An option, albeit with a high degree of uncertainty, is using the distance modulus with apparent mag and an estimate of the absolute mag;
$$
\mu = m - M = 5 \log(d) - 5
$$
giving
$$
d = 10^{((\mu/5) + 1)} \, {\rm pc}
$$
We ultimately get a distance with uncertainties as one of the fitted parameters from the SED fit.
We need the distance to derive reddening/extinction and as a prior for SED fitting.
An option, albeit with a high degree of uncertainty, is using the distance modulus with apparent mag and an estimate of the absolute mag;
giving
We ultimately get a distance with uncertainties as one of the fitted parameters from the SED fit.