If you’re veggie/vegan, make sure you eat enough protein. For an adult male, that should be around 100g/day as a probably insufficient minimum.
Also supplement B12, which is mostly found in animal products.
Mostly and more importantly, don’t blindly follow dieting advice from random people on the Internet. Do your own research. Take a blood panel.