By removing the old ones - it's very fiddly and hard to see, but there are 3 nuts each side that you can get at by reaching inside the wing, you may need to remove the wheel. They're small and the stud that they bolt onto is VERY likely to sheer

Then it's obvious how to put the new ones on - I'd smear the studs with copper grease to try and stop them seizing again, in case of a 'next time'.