In the base game of The Sims, teen Sims can't marry—marriage is an adult feature. To enable teen engagements, weddings, and more, players often turn to a community mod such as InTeenimater.
After installing it, your teenage Sims can get engaged, marry, and even try for a baby just like adult Sims. A few things to note: if a teen Sim becomes pregnant, she'll temporarily turn into an adult, and she'll gain a biological clock you can manage (left-click the Sim, go to InTeenimater, and choose "My Biological Clock") to control options like miscarriage or immediate delivery. After the baby arrives, she reverts to being a teenager.
Keep in mind that mods are unofficial and can affect your game, so install them carefully and at your own discretion.