Hello sehun_deul
Can you please provide more details about your computer such as which operating system you are using, since when did the USB ports stop functioning, etc.
If you can recall the approximate date when the USB ports last worked, you can restore your computer to that time's restore point. You can learn how to restore your computer from
here.
To get detailed and accurate assistance, please provide more details about the issue.
Good Luck!!