The only way to access your device if you forget your pattern lock is to perform a factory data reset. All data on the device will be erased including photos, music, and media files. For steps on performing a factor data reset, please see the 'Device reset' tutorial.