You can buy over the counter eye drops for pink eye at Target and Walmart and the eye drops will help with the redness and swelling and relieve the pink eye but the over the counter eye drops won't get rid of the actual infection causing the pink eye.
To get rid of the pink eye infection you'll need some prescription eye drops which you'll have to go to the doctor for.
A home remedy to get rid of pink eye is to take a warm compress and apply the warm compress over your eyes to help soothe and relieve the pink eye.