take the base off.locate the element and disconnect from dishwasher.fit new one in reverse.If doing it yourself it is best to remove the old one so you then have the knowledge to fit the new one before purchasing a new part.
PS.
are you sure the element is faulty?.Again simple to test and will save you time and wasted money buying a part you may not need!
CK, November 2013