Might not be the power button.
But if it is:
Disassemble the laptop case around the power button. If the button is on a small board with some LED lights a cable then it is usually possible to get one for cheap on eBay. If it's on the main board then you'll have to desolder it and solder on a replacement (they are usually commodity items available from an electronic parts supplier).