Work all of your last regularly scheduled day of work before the public holiday or all of their first regularly scheduled day of work after the public holiday (this is called the “Last and First Rule”)
https://www.ontario.ca/document/your-guide-employment-standards-act-0/public-holidays