Hi Courtney and welcome. Is it only when the charger is plugged into the notebook? Or when just on battery too? If just when the charger is connected, then that points to a broken power connector and it will need to go into a shop. This is a common problem so they should be able to fix it with no more than 1 hour labor charge. If just a broken soldering joint, they can just repair the joint. If the part itself is bad, unless they have it in stock, you may have a delay waiting on the part, but labor should still be 1 hour, certainly no more than 2 hours.
If it happens when disconnected from the charger too, then about the only thing you can do is remove the battery and use a canned of compressed dusting gas to blast out any dust or debris that may be in there. If that does not work, then I am afraid a shop is the only option. Some shops give estimates, but note for a proper estimate, they have to troubleshoot the problem and that is typically 90% of the repair process. Replacing parts for an experienced technician is easy, figuring out which part is the expertise you are paying for. So, not all estimates are free, but typically the estimate charges get rolled into the repair costs, if you decide fixing the notebook is worth it.