Why did my code work before and now suddenly stop?

How do I check that and how do I reconnect?