Hi,
If you have some infection related to the wisdom tooth it is common to have pain when you lie down. It is also possible that the adjacent tooth might also have some cavity. An Xray is needed to know the position of wisdom tooth. Accordingly a treatment plan can be given.
Next Steps
For now just take an sos painkiller to manage symptoms. Take Tab. Enzolam as it will help with pain as well as reduce inflammation.
Health Tips
Maintain a good oral hygiene. Brush before going to bed. Do warm saline rinses 4 to 5 times a day i.e. lukewarm water with a teaspoon of salt.