Open the DAW. If you don't have one, I suggest FL Studio by Imageline. This is a unique DAW that uses a step method of making music that's intuitive and quick; plus, it lends itself toward making house, techno, and hip-hop music. You can download a trial version, but it will not allow you to save your compositions, so make sure you buy a full version.
Label the tracks. Each instrument should have a separate track. This takes a little bit of forethought and setup. Make sure the tracks' inputs are all set to the VST instrument that will be used. Open and activate each VST instrument that will be used.
Create a one- or two-bar phrase. When deciding on drum sounds, use an electronic drum kit. Make sure the bass drum is solid and electronic and that it doesn't sound like acoustic drums. Play or program one hit on each downbeat. This is commonly known as "four on the floor," and it's the universal groove for 99.9% of all house music. Add whatever instruments you desire.
Set the left and right locators to the beginning and end of the phrase. Set it to loop and listen to verify that the loop is in time.
Click "File," then "Export" once the loop sounds like you want it. Export the file as a .WAV or .MP3 file.