Oven clock & light

The clock and light work only sometimes. If I shake the door, the clock comes on. I’m assuming loss wire. How do I get the front panel off.