Octane is an additive that helps control pre-detonation. Normally this occurs in higher compression engines, or where timing is advanced too far, although heat and load can contribute to pre-detonation or "pinging".
If you don't have symptoms of pinging, you are throwing good money away buying more expensive fuel than the manufacturer recommends. If you are hearing pre-detonation you may want to have the vehicle looked at for a bad knock sensor, dirty fuel injectors. It could also be a sign that a valve job is needed.
Typically fueling with higher octane fuel in a car not designed for it will not boost power or provide benefit. I would start with a basic computer engine diagnostic if you are hearing "pinging"
So to answer the OP, put what the manufacturer recommends in the tank.