Spanish Phrases For Emergency

Habría ido al hospital si el dolor continuara.

I would have gone to the hospital if the pain continued.