depends on where the leak is. if its in the seal at the top you can try pushing the pressure up to 40psi. that usually will force the o ring to seat properly. once that is done, you can let the pressure off.
alternatively you can just starsan the top, keep your hands wet with starsan while you open it and fix.
lastly, you can rack into a sanitized keg that you know seals properly.