Make sure it's okay with your ped before giving him Motrin. The dose needs to be adjusted, based on weight.
My 15 month old did this too. Try alternate ways of soothing him, since it's warmer try no clothes or a cool bath. Definately call your ped if you notice a change in responseiveness or usual demeanor.