Do you know at least the name of the pills you have taken? Stop taking it asap. saying honestly I am also buying pills online. There are a lot of scammers in the net and it is very important to buy from a reliable suppliers only. Go to doctor and I hope he will find a solution for you. Good luck!
Of course, as you know, the first thing is to stop taking the pills you bought from the Internet. If you have any other symptoms, check in with your physician. Hopefully, you will get back to normal once you stop taking the pills in question.