I made a caramel topping for a cake a while ago, which turned out delicious.
This is how I made it.
Cook butter with sugar until it thickens a little.
Take it off the heat and stir in a little fresh cream.
U can also add vanilla and/or rum or brandy if u want.