Welcome to Android Central! Could be a lot of things, but most often it's due to some app you installed that is making the system unstable. Does it freeze up randomly, or only while using certain apps?
Try uninstalling apps one by one, starting with the most recently installed ones. Alternatively, back up your data and do a full factory reset, then start reinstalling apps slowly, one by one.