SWOLLEN EYE!!! Help

Seems as if it’s a stye because it only hurts on the corner it’s in but I’m not sure..... can someone tell me their experience with a stye or swollen eyes and tell me how long it lasted?? Also anything that helps a swollen eye would be greatly appreciated. Thanks