Healing in Assassin's Creed II works in one of two ways. You can visit a medic — they are stationed around the cities and will restore your health for a fee.
Alternatively, you can unlock the healing vial, which you also obtain through the medics. Once unlocked, the vial lets you carry and use medicine to recover health on the go, which is far more convenient when you are mid-mission.