Can thinkng you are pregnant stop your periods, even I was having extreme periods cramps last night but in morning it's all fine with no periods?

No. There may be a way to alter your perception of the bleeding but it is coincidental that you thought of pregnancy and your period stopped. If it keeps working though, let us know, millions would benefit.