University application

Hello, so I will be graduating in the year 2026 (February most probably) and I want to pursue masters in data science. I want to ask when should I apply in universities? Like for APS and stuff , I won’t be getting my degree right away (only marksheet). So what should be the ideal timeline? Will be very helpful if someone could give some suggestions.