Try to fix it! I have an electric dryer that's at least 20 years old. I've replaced the belt twice.
Recently the dryer quit heating, I'm electrically inclined so I troubleshot it and found the parts
for $12, I think it was on Ebay. I also found them for $78 and $50, so shop around.
Also, there are so many helpful videos, make use of them.
Installation was simple and the dryer is functioning properly.
Now, if I can just get the drain for the washing machine to flow properly.
It's always something!