A student paramedic and a police officer, who were both off-duty, stopped to help