Park your mower on level ground, and set the parking brake. Remove the ignition key from the mower.
Jack the front of the mower with a floor jack or bottle jack under the front frame. Raise the front of the mower until the bottom of the front wheels are off the ground. Put a jack stand on each side of the jack under the frame, and slowly lower the jack so the jack stands are supporting the weight of the mower.
Pry the center cap off the front wheel with a flat-head screwdriver. The center cap covers the end of the axle and the cotter pin.
Straighten the ends of the cotter pin with a pair of needle-nose pliers. The ends are usually bent over the axle.
Grab the top of the cotter pin with a pair of vise grips, and pull the cotter pin out of the axle.