Yes, cruise ships are essentially floating cities and are equipped with onboard medical centers staffed by licensed doctors and nurses. Most large ships carry at least one or two doctors and several nurses who are trained in emergency and maritime medicine. These medical centers are designed to handle everything from minor ailments like seasickness and sprains to serious emergencies like cardiac arrest or respiratory failure. Regarding medication, ships maintain a fully stocked pharmacy that includes various classes of antibiotics, pain relievers, and emergency drugs. However, these facilities are more akin to an "urgent care" clinic than a full-scale hospital; while they can stabilize patients and perform minor sutures, serious cases are typically evacuated to a shoreside hospital at the next port or via helicopter. It is important to note that medical services on board are not free; visits and medications are billed to your shipboard account and can be quite expensive. Travelers are strongly advised to carry travel insurance that includes "emergency medical" and "medical evacuation" coverage to avoid massive out-of-pocket costs for an unexpected illness or infection while at sea.