Difficulties to keep going

Hello I am struggling with going to the gym consistently and also find a way to eat the right food does anyone have tips?