Injuries are pretty common in new runners, often due to doing too much too soon or wearing unsuitable shoes, and not having an efficient running form.
My main tips to avoid injuries would be, firstly, to ensure that you warm up and cool down before and after each run, no matter how short it is. To begin with, your warm-up might be a brisk walk, but as you get more experienced, you may incorporate some gentle jogging, keeping things super relaxed and easy. Remember to prepare your body for what lies ahead, not tire yourself out before starting!