Talk to your teacher or professor, explain the reasons behind the missing work, and take responsibility for your actions. They may offer opportunities to make up the work or earn partial credit.