As above, if you get aches or pains of niggles beyond a general tiredness in leg muscles you need to rest.
As a beginner you need to to be very careful in increasing volume. Beginners tend to suffer running injuries disproportionately and yet they can mostly all be avoided. On the flip side people who take running seriously also get some injury risk due to pushing their bodies to new limits, their injuries are a little less predictable.
As a beginner you need to take s long term view. Be thinking in a time frame of a year or more about how your training will increase gradually. One of the fundamental issues is cardio fitness increases rapidly as you run, and as you get used to running you can increase distance rapidly and push through tiredness. But your bones, joints and ligaments can take years to adapt to the increased loads of running. Running is safe and Your body will know exactly what to do to make your self stronger but it takes time. It will takes months for bones to make the first small changes,as you keep running your body will know bones and joints have to be stronger still but that will take another few months. This lags behind for a couple of years. Then even when you are an experienced runner if you suddenly increase training load everything will have to be made stronger again and this will take quite a few more months.
So be patient and don't run when things hurt. Over time you will find you can run massively more, way faster and have no issues.