Repair or replace? Repair would be difficult with alternator fitted to vehicle.
Raise the vehicle to improve access.
Disconnect the battery negative.
If vehivle has aircon, then compressor drivebelt will have to be removed for access.
Remove electrical connections from alternator
Loosen alternator fixings, and slacken alternator belt adjustment, and count number of turns (not easy).
Remove alternator belt.
Remove tension arm from alternator.
Remove alternator main fixing bolt.
The really difficult part, remove alternator from vehicle. I belisve that this has been done and mentioned on forum.
Here is a link to the eLearn procedure which also does not tell you how to remove the alternator past all of the obstructions.
Good luck