Yes it sounds like a stye.
Next Steps
Just continue the warm compresses, it resolves on its own.
If there is a lot of pain, then consult an Ophthalmologist who will prescribe appropriate pain killers and also pierce the stye with a sterile needle so that the pus can drain and relieve the pain.