You're human, just like the rest of us.
Pick yourself up, dust yourself off, and climb back on the wagon. Do what has worked for you in the past. I tend to have trouble fasting (IF) when I've had carbs - so I go for high fat, minimal-but-adequate protein, and plenty of fat. Then I can fast, no sweat. But that's me ... you may well be different.
Everybody slips up/screws up/whatever you want to call it sometimes. What's important is what you do after it.
The fact you asked for advice on how to get back is a really good sign.