Building a weekly training place in between races

Hello,

I want to set up a running plan in between may to August in order to improve my speed and endurance. I was wondering if I’m running 4 times a week, how many times should I do a speed workout?