Did you apply this year and are you/were you holding any offers? Have they changed to rejections or acceptances now that you have your results?
As noted normally foundation year/gateway year courses are for those who meet widening participation criteria, but usually each uni has slightly different criteria. So if you are planning to take a gap year and reapply to those, you will need to check if you do meet their specific criteria.
Also as above many medical schools do accept resits, although many do have conditions attached - some only accept where there are extenuating circumstances in the first sitting, some require a higher than usual grade on the resit, some require you resit the same number of subjects together as you originally took etc.