it's call chalazion, if it get infected, then u have to take the antibiotic,
just search the internet for chalazion, u will know how to treat.
heat therapy is best for young age, safe but not v. effective, but u really need to apply the heat 3-4 times daily, it;s difficult for 1 year old.
never apply overcounter eyedrops!!, that will hurt. some overcounter eyedrops has steroid and that will damage young kid cornea in long run!!