Stuggles of getting to the hospital when in labour

So basically. I can't drive yet and my boyfriend doesn't have a car. Worrying because getting home shouldn't be to bad. But getting there. It's a 20 minute walk. I mean I can't walk along the road while having contractions... how does this work? There's no one that would be on call to take me... I mean the only option I have is to call for an ambulance or walk.. would a taxi driver take you? 🙄🙄🙄 hahah please help