Accidentally turning on lamp on Shabbat

If I accidentally turned on a light on Shabbat (it’s the kind of lamp that can be turned on just by touching it) what can I do if it’s in my bedroom and I need to sleep? Can I unscrew the light bulb?

Please see this link…