Sadly yes you do.

After marriage you will need to apply for an extension of stay in the UK as the partner. Often known as Further leave to Remain (FLR)
This will allow you to continue to stay here for another 30 months

The FLR is currently £561