There are alot of guides that teaches you how to hide fieldgroups with hook_form_alter
function. However, those only works on in-built fieldgroups, such as Author Information.
Here's a very useful function that actually hides custom fieldgroups which you have created from the Field UI:
<?php field_group_hide_field_groups($form, array('group_MACHINE_NAME')); ?>