It is not possible to hit a mine on the first click. A mine in a square due for a first hit is usually moved to another square as determined by the setup of the game.