If you’re looking to delete a course on which no customers have been sold spaces, then simply right click on the course and select delete:
If you’ve sold spaces to customers on the course then you’ll need to either move the customers:
Before deleting the course or refund the customers first.