Include all food groups in your diet like green leafy vegetables, pulses, milk products in moderation. Eat on time to improve metabolism and digestion. Check for any indigestion or intestinal problems. Because VIT
B12 gets absorbed through intestines. VIT D gets absorbed through skin under the sun light especially during 11am to 1 pm.
Next Steps
You need to take injectables for both. Kindly check with your physician and do the needful.