You need to attend a ground school for the type of gps to be used eg garmin 400 series , then you can complete a GPSN endorsement , this can be done in flight or an approved sim.
The whole thing should be less than a $1000 .
Ground course $350 - $500
Then about 1 hour aircraft or sim