Thank you for your query.
To get married, your partner and you both need to go to your Registrar to give the notice to get married.
Under the new law, you will have to wait for 70 days to clear before you can get married. During this process, your relationship could be assessed via marriage interview with the Home Office. If the Home Office has no issues or they conduct an interview with you and your partner, and they have no issues, then you get married. Once you are married, you will need to satisfy Appendix FM of the Immigration Rules.
More information can be found here:
Please do not forget to rate my answer.