Hi, welcome to the forum.
I think you are missing some code.
See geom_errorbar function - RDocumentation.
To really check things we need some sample data.
A handy way to supply some sample data is the dput() function. In the case of a large dataset something like dput(head(mydata, 100)) should supply the data we need. Just do dput(mydata) where mydata is your data. Copy the output and paste it here.
A general guide to asking quentions is available here
FAQ