Doctors usually recommend 1k IU per day but this has been shown to be problematic. 8k-10k IU is much better. Spending a day on the beach will net you many 10ks of vitamin D (given full body exposure to the sun).
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5541280/