Believe that you can and you're halfway there.
There are various training programs that will help you prepare to run a 5K and 10K race.
Here are a few suggestions:
Stride Ahead : https://www.strideahead.ca/clinics-run-clubs/
Running Room : https://www.runningroom.com/hm/
City Park Runners: http://cityparkrunners.com/
Hal Higdon 5km and 10km training programs can be found athttp://www.halhigdon.com/training/
Stride Ahead, Running Room and City Park Runners do not have their standard 5K and 10K training programs available on line. Participants will have to go to the website and look into signing up for programs or using the apps available.