If you want to get a valid passport, contact your nation of origin about the procedure.

Whether or not an expired passport will give you problems when you try to reenter the country at issue isn't something we can address. That's a matter of their immigration laws. My guess is it will slow down reentry, but that you'll get back in.