Except for some very specific issues.
I have a mild deficiency and used to take Vitamin D. I stopped taking it after consulting with a doctor on the meaning of the VITAL study results [1]. I also recommend [2], from a practicing surgeon who deals with Vitamin D related medical issues in patients.
[1] https://pubmed.ncbi.nlm.nih.gov/35939577/ [2] https://www.devaboone.com/post/vitamin-d-part-3-the-evidence