If you have insurance, the insurance company will usually advance the costs for you at the affiliated facilities.
If you don't have insurance, a simple medical visit can cost you as much as €150/200, and a few days' hospital stay can cost up to a few thousand euros.