No player may take actions between the time you draw three cards and the time you discard. Notably, you can't try to get an artifact onto the battlefield using the three cards you drew to avoid discarding.