Can long term dieting & exercising in gym cause future infertility? Lost 20 kgs quickly. But periods are regular.

Infertility. It is possible that excess or rapid weight loss can lead to hormonal problems that can affect fertility. If your periods remain regular, that's surely reassuring, but you should get some hormone levels to be sure.