Counter target spell. At the beginning of your next first main phase, add X mana in any combination of colors, where X is that spell's mana value.
Your precombat main phase is the main phase that happens immediately after your draw step, not any other main phase.