how to stop nightfall

I am 21 and i am having frequent nightfalls. I use to masturbate but now i dont and after that this priblem started. plz give me solutiom for it.