In addition to previous comment, make sure your mosfet is ‘below’ your motor I.e the motor is connected to power and is grounded through the mosfet. This is because you need you gate voltage to be, say, 10v higher than the source. If you put the motor after the mosfet the source is only a few mV lower than the gate and the mosfet won’t turn on fully or at all.
Sent from my iPhone using Tapatalk