Rome fought 4 Macedonian Wars between 215 and 148 B.C.
The First Macedonian War (215-205 B.C.)
The First Macedonian War was a diversion during the Punic Wars. It was brought on by the alliance of Philip V of Macedonia and Hannibal of Carthage (following Philip's naval expedition against Illyria in 216 and then again, in 214 followed by land-based conquests). Philip and Rome settled with each other so Rome could go focus on Carthage. The Greeks seem to have called the war the Aetolian War, according to Rome Enters the Greek East, by Arthur M. Eckstein Copyright © 2008 because it was fought between Philip and his allies on the one side and the Aetolian League and its allies, which included Rome.
Rome officially declared war on Macedon in 214, but major operations began in 211, which is often listed as the start of the war, according to Eckstein. (The Greeks had been engaged, recently, in their own Social War. It lasted from 220-217 on the occasion of Philip suddenly deciding to make peace with Aetolia.
The Second Macedonian War (200-196 B.C.)
The second Macedonian War started as a powerplay between the Seleucids of Syria and Macedonia, with the weaker area powers suffering in the crossfire. They called upon Rome for help. Rome decided Macedon constituted a threat, and so helped.
In the Second Macedonian War, Rome officially freed Greece from Philip and Macedonia. MAcdonia was moved back to its Philip II borders and Rome acquired or freed territories south of Thessaly.
The Third Macedonian War (172-168 B.C.)
The Third Macedonian War was fought against Philip's son Perseus who had moved against the Greeks. Rome declared war and divided Macedonia into 4 republics.
After each of the first three Macedonian wars, the Romans went back to Rome after punishing or otherwise dealing with the Macedonians and receiving some reward from the Greeks.
The Fourth Macedonian War (150-148 B.C.)
When the Fourth Macedonian War began, as the result of a Macedonian rebellion, fomented by a man who claimed to be Perseus' son, Rome again stepped in. This time, Rome stayed in Macedonia. Macedonia and Epirus were made a Roman province.
Aftermath of the Fourth Macedonian War
The Greeks' Achaean League tried unsuccessfully to get rid of the Romans. Their city of Corinth was destroyed for its part in an uprising in 146 B.C. Rome had expanded its empire.