Saying no firmly and sticking with it it takes a couple times but they get the idea fairly quickly and start enjoying their toys or exploring again
We did this when my lo was poorly we slowly reduced it and went back to normal routine of playing helping with chores going out
Just give her other things that she enjoys playing with