Welcome to Android Central!  You typically can't recover a forgotten pattern, since that would make it a poor security measure.  You'd probably have to do a factory reset in order to select a new pattern (and, of course, that means you'd lose any current data on the phone if you can't back it up).