To manage heartburn and nausea, avoid eating large meals or spicy and acidic foods close to bedtime. Opt for smaller, frequent meals throughout the day. Elevating your head with extra pillows can also help reduce heartburn. If nausea persists, try eating bland snacks like crackers before bed and consult your healthcare provider for further advice.