I had a couple of scary speed wobbles on fast, curving down hills on my new road bike a couple of months ago. With a sportive around the Peak District coming up, I decided that I`d better have a look at sorting the problem out and found this
https://cyclingtips.com/2011/03/speed-wobble-when-the-bike-shakes-its-head/.
"3. Incorrect weight distribution is a very common cause of speed wobble. Quite often, speed wobble has just as much to do with the rider as it does with the bike. If speed wobble starts occurring, many people will intuatively put their weigh towards the back of the bike instead of putting their weight towards the front to actually stop it and dampen it out. The best thing to do to get out of a wobble is to weight one of your legs down at the 6/12 o’clock position, put some weight on the front end by bending your elbows (use soft hands – don’t grip handlebars firmly!), and take some weight off your seat (to take the pivot point away) which puts more weight back on the handlebars, which puts more weight on the front wheel. This will usually bring stability back to the bike and correct the oscillation. The reason it’s suggested that the pedals be in the 6/12 o’clock position (rather than the 3/9 o’clock position) is because this will bring your body weight into a better balanced position which will calm the bike down."
It worked for me and I now do it before the problem occurs.