Usually dapat tapakan yung brakes before you can shift out of park (P) kaya check that the brake switch is working good and yung mechanism ng spring that you press when shifting to any gear is working too. What car is that? Baka luma na and the parts need adjustment/lubrication, etc..