Well first of all for the pain, I'd ice it each day for about 10-15 minutes until it starts to feel better. And it seems that you might have an in grown toenail. That is when your toenail starts to grow into your flesh on the side of your toe. Of course, it isn't major or anything, but it is pretty painful. So hear are some tips for you to do at home: Soak your feet in a mixture of hot(or warm) water with Epsom salt. Do this 15-30 minutes at least one a day. The goal here is to soften the toenail and prevent he ingrown nail from becoming infected.
I hope this helps and your toe will feel better soon!!