Anterior ankle pain

hi! I’ve been experiencing some anterior ankle discomfort, it’s not necessarily pain as it feels more like a soreness that spreads up to my shins. This seems to happen to me every time I take some time off running. When I was tapering for my previous marathon I also experienced this and this time around the discomfort came back after taking a week off running. Is there anything I can do to resolve this? Thanks!