This depends on the type of rental agreement and the terms agreed between tenant and landlord. The termination conditions are outlined in the rental agreement.
Termination is not allowed during a fixed initial rental period, which often applies to contracts for indefinite term.
For landlords, giving notice is usually only allowed at the end of a rental period – and only if there is a lawful reason.
Need more information? Contact the landlord or property manager.