First of all, you should understand that your Macbook is facing these issues because of some software or hardware issues. You have to find out what exactly is going on with your Macbook and then try to find the solutions. For example, there are chances that your Macbook is infected with some sort of virus. In that case, you have to find out the exact virus, which is causing this issue. You can uninstall the program linked with the virus. Moreover, you can use the anti-virus program to remove the viruses. There are lots of anti-virus software available in the market. You can use that program, so you can prevent your Macbook from facing any issues in the future.
If you want help please contact a nearby Mac Repair service center.
Note: commercial link removed by moderator.