This is not something you can do from within the Arduino development environment. Changing clock source requires the use of an external programmer and altering a fuse setting.
To get started on how - you can try google with keywords "arduino programmer fuse".