Sorry to hear that you’re having trouble with this situation. To better understand the issue and help you properly, could you please share a bit more information?
Are you trying to connect the iPhone using a USB cable? If so, when you connect it, does the phone appear under “This PC” on your computer?
Also, please check the following:
Have you tried using a different USB cable?
Does the iPhone show that it is connected or charging when plugged in?
Have you tested the iPhone on a different PC?
Please share any additional details or screenshots if possible.