Hi Annamarie
The first thing I would do in such situation with the burning smell is disassemble the dryer and check for the lint accumulated inside and caught on fire. It could cause a damage to wires, if happened.
Per the manufacturer instructions the dryer has to be cleaned at least every other year.
- Here are the break down diagrams for the Whirlpool dryer
Model LGR6848AN0
Keep me updated, please.