You might be getting into the same cycle as crash dieting by doing this. It is the cycle of extreme and quite common. This is what I do for a living now... coach people to help them build healthy habits/ lifestyle so they can achieve their fitness goals in a sustainable manner and build a healthier relationship with food and exercise in the process. Take it slow and steady. It take time to build lean muscles which in turn improves metabolism. You've got this :)