Someone new to the distance should be able to train for 10k race in 8-12 weeks. Most training plans recommend running 3-4 times per week with a mix of easy runs, faster sessions (normally with some intervals) and a longer run.