The major difference, Medicare is a federal governed program, while Medicaid is a state governed program. Some people are dual eligable for coverage depending on their situaltion.
You apply for Medicaid at the Sate's Medicaid
Medicare is applied for at the local Social Security office.