Volvo S70 with key stuck in the ignition

I’m sure someone will have this answer for me quickly. I have a 1999 Volvo S70. Recently the key has been sticking in the ignition. I turn the car off and sometimes the key comes out, sometimes it doesn’t. What do I need to replace? Is this something a relative novice can do or do I need to take it to a pro? thanks for any advice.