Inability to retain food is a common symptom during early pregnancy. Eating at frequent intervals and taking small portions at a time will help. Also avoid spicy and oily foods. Stick to fruits and vegetables. Taking antiemetic medicines will be a big help. Consult your gynaecologist and a dietician so that nutritional intake is not compromised.
Hope this helps.