How to add error bars in ggplot2

You can use geom_errorbar()

If you need more specific help, please provide a proper REPRoducible EXample (reprex) illustrating your issue.