Medical question

I was put on a low dose of percocet and took my first one around 12 hours ago. Within 10 minutes I threw it up and totally emptied my stomach to the point I was dry heaving (it sucked) and I'm lightheaded still.. Is this a normal reaction? And if so, how long until it goes away?