You do it online, not at the border. You need to apply ASAP while you still have status.
https://www.canada.ca/en/immigratio.../services/visit-canada/extend-stay/apply.html
O.k. thanks. So I can only change it today? I don't have the extra 90 days? And what do I do about my application?