If you know the date of the last opposition, then the next one will be about 399 days later (ie a year, a month and a bit). That is just counting days. So if you know that there was an opposition on June 1st, then the next one will be 399 days later, on about July 4th of the following year.
But this assumes circular orbits and so is good for an estimate, but is not exact It's usually out by a few days. Properly calculating the time of opposition requires you to calculate the position of the planets following elliptical orbits (and perturbed by each other's gravity etc). Fortunately, you can get a table which lists the dates of opposition:
August 20, 2021: Aquarius
September 26, 2022: Pisces
November 1, 2023: Aries
December 6, 2024: Taurus
January 9, 2026: Gemini
February 10, 2027: Leo
March 13, 2028: Virgo
April 13, 2029: Virgo
May 14, 2030: Libra
June 16, 2031: Ophiuchus
July 20, 2032: Sagittarius
August 25, 2033: Back in Aquarius (source)
The calculation of these dates is ultimately based on observation. There is no way to calculate them purely from the knowledge of the synodic or sidereal period.
So, as of 14th May 2022, there are 135 days until the next opposition.