Turn Instant Pot onto sautee setting. Once hot, pour olive oil into pan, then diced onions, sliced mushrooms, salt & ground pepper. Stir until translucent, about 5-7 minutes. Add garlic, then deglaze pan with red wine. Stir and cook for 2 more minutes.