Can someone tell me what this is??

I have no idea why the pic is upside down but help meeee. This has been in my mouth for ab 2 days now and it hurts sooo bad!! And also how can i get rid of it??