I don't have the new PHB yet, but I assume that the rules are the same as they were in 2014. If you have a ritual spell available to cast (that is, prepped), you can choose to cast it as a ritual instead of expending a spell slot. Wizards get the extra benefit of being able to cast a ritual if...