Period pain

When i get my period, the pain begins as a dull ache from my stomach to my knees. Then it escalates into a horrible pain and cramps, nausea, vomiting, profuse sweating, and legs that feel like jelly. I can hardly walk. Ive left school and work because of it and i was wondering if anyone knows how to control the pain. I take ibuprofen but if its too late, it does no good.