Are you referring to email or iMessage? If you're referring to emails, does your email have a junk folder? If so, go to your junk folder, select the emails you want to restore, and then move them back to your inbox.
I would think since the OP says junk they are referring to email. iMessages deletes them not junk them. Also if you have an option to junk them it should mean you have a junk folder they would have been moved too.
Sorry I was unclear. These were text messages in the Messages app. I’m not interested in having those messages back but I want to receive messages from these people in the future. They include my family and even my boss so Id hate for those people’s message not to get through