These are two questions, which could have many possible answers. The first question deals with coughing when laying on the right side. This could be from the upper airway, such as the sinuses, or in the lungs, themselves. If this is a problem in the lungs, it would mean the coughing would occur whenever you lie on the right side and the airways are compressed causing you to cough. In either case, this is probably a problem that should best be evaluated by your physician. He/she can do several things, including a good physical examination and possibly x-rays.
The second question could be due to several different things, as well. It is possible that this is a problem with the TM (temporal mandibular) joint that gets affected every time you chew. It is also possible that this is a problem with an infected lymph gland that gets moved when you chew. This could be easily differentiated by a good physical examination by your physician.