If it's a screw fitting, unscrew it and screw in a new one. If it's a bayonet fitting, you need to slightly push it up and then turn it to remove it, doing the same to get a new one in. Other light fittings, like fluorescent tubes have different installation methods.
Unless you're a mathematician. Then you only work with spherical lightbulbs.