Keto and birth control

I’m on day 3 of my keto diet and I am also on birth control via Depo shot. Someone just told me that keto diet messes with the pill and makes it not affective anymore. Is this true? And does this apply to all birth controls