Removing partition on a 1Tb drive formatted for Mac (Disc Utility)

I formatted a new 1Tb drive with two partitions. I regret doing it. How do I erase the drive and remove the partitions? (MacBook Pro)