In order to apply for a visa for your spouse or conjugal partner you and your partner must be 18 years or above.
Your partner must be a member of the family class, otherwise you will not be able to sponsor them. You must be a citizen, permanent resident, or have a work permit to sponsor your spouse.
You must have a genuine relationship with your spouse which was not entered into just for the permanent resident status. The duration of your relationship must be at least a year old.