We need more information on the mower. Is there a plate saying what make and model the engine is? It sounds as if the magneto has been disturbed when you worked on it - perhaps something has happened to the kill wire. Did you remove the magneto? If so, there is a bigger range of things that might have happened. However to get started we need to know something about the engine.