how can fit s curve to data?

To do a reprex, please see the FAQ: What's a reproducible example (`reprex`) and how do I do one?

You need to provide the code you are using to predict the future values in the series.