The trick is that
a) it takes quite a while for your body to get adjusted to ketosis. 6 months to fully adjust, but the primary adjustment will take at 2-4 weeks for most people
b) during this adjustment period, you'll usually feel like shit. since you're running empty on the fuel your body is used to. but many people cheat, or accidentally ingest too many carbohydrates, persistently keeping their body out of ketosis and ensuring they feel terrible endlessly and blame keto for it.