How to get item titles from custom post type in php?

so I have created custom post types in WordPress called podcasts with different packages and most of it has been completed now what I’m trying to do is to “get each available podcast / item title underneath the package” for example I’ve 3 packages called Basic, Starter and Exclusive and I want to display all items available in Basic package underneath the Basic Bundle and same for Starter and Exclusive. I have mentioned the code below currently it’s showing all the item titles.