There have been large and consistent increases in sexually-transmitted diseases in recent years, with almost 2.3 million cases in 2017.