Some contraceptives have estrogen and progesterone and it makes sense to use a progesterone only if you are undergoing masculinisation. This is so that the testosterone can suppress the estrogen and reverse and stop feminisation.
Testosterone alone is not a contraceptive, so if you’re having vaginal penetration with a penis, you should consider your contraceptive options.