Generally, you would examine it for continuity, then find the first derivative. Where the first derivative exists and is zero, this is likely to be a local max or min. That's only part of the story, of course. You tell me the rest.
Can you find dy/dx? It will take the Product Rule.