Talk about a pain in the neck.

Charlize Theron has recently had neck surgery to treat an injury that she sustained several years ago on a film set, according to Us Weekly.

Reportedly, something had hit the 38-year-old Charlize in the head, and she had never fully recovered, so she finally decided to have the surgery.

The Snow White and the Hunstman star was spotted at an event on October 4 following the surgery, and she was wearing a white scarf around her neck to hide a small bandage from the procedure.

"Charlize got injured on a set and broke a vertebrae years ago," a source reveals. "It's been bothering her a lot lately, so she had surgery to correct it, and they had to go through her neck."

"She's got a small Band-Aid on her neck," another source added about Charlize's appearance at this weekend's event. "She kept fussing with the white scarf. She [was] wearing to cover it, but it was poking out and visible."

So how is she feeling now? Well, these things take time to heal from, and a source says Charlize currently hasn't been "feeling good post-surgery." Hopefully, she'll be back to her old self in no time.

"She will be totally fine," the source adds. "She plans just to hang out and rest all weekend and recuperate."

Here's to a speedy recovery!

Source: Us Weekly