My child of 5 years woke up yesterday with a limp and is walking very slowly?

Watch first. Young children often do things that parents don't always see (tripping, falling etc.) and this may cause the limp. It is ok to give Ibuprofen at the proper dose and watch for 24-48 hours but if it is not better or he can't even walk at the onset see your pediatrician.