Welcome to the forum , jcsyes .
Since you've not posted any images of your item , there's not too much for us to go on , by your description .
It was/is typical for electric coffe pots to be forgotten (left 'on') & subsequently have the heating elements 'burn out' .
I keep small digital multi-meters in my vehicles , for testing 'antique' electrcal items , prior to buying them (great to know if 'whatever it is' works) .
Often times , electrical parts can be replaced by more current ones , as cogar mentioned ; sometimes they cannot , due to nomenclature of housings , mat'ls & such .
It is very important to use electrical components that are matched with the ratings (voltage,watts,amps) of the ones they are replacing .
Sometimes , in dealing with damaged electrical items (of antique or vintage age) there is little to no parts availability ... then a person has to keep an eye out for a same-same item , in order to re-use the parts from it .
As cogar mentioned , sometimes fix-it or appliance repair shop have got ideas or means to repair real old stuff (& sometimes you'll find a repairman who does such as a hobby) .