Thanks for your question on Health Care Magic.
I can understand your friend's situation and problem.
He is having
chest pain on swallowing and lying down, and not improving with painkiller (
ibuprofen) so possibility of GERD related pain is more.
GERD is due to laxity of gastroesophageal sphincter. Because of this the acid of the stomach tends to come up in the
esophagus and cause the symptoms.
Lying down position makes reflux more easy.
So better to keep 2-3 pillows under head in the bed to prevent reflux.
Ask him to avoid painkiller drugs. Start
proton pump inhibitors (antacid). Ask him to avoid stress and tension, avoid hot and spicy food, avoid large meals, instead take frequent small meals.
Ask him to quit smoking and alcohol if he has these habits.
He will mostly improve with all these.. If not improving than
consult gastroenterologist and get done upper GI (gastrointestinal) scopy.
Hope I have solved your query.
Wishing good health to your friend. Thanks.