If you've backed up to a cloud account etc then they should hopefully be there.
If you haven't then they are probably lost as your network won't retain text message content.
There is paid for software out there pertaining to claim it can recover lost data but as one not used them I can't recommend any I'm afraid.
Current Phone ~
Samsung Note 20 Ultra 5G SM-N9860_256Gb SnapDragon 865+
Samsung One Ui 2.5/ Android 10.
If your text messages has not been covered by new files.It can be retrieved by professional data recover tool.
Download and start a program on computer,connect your Samsung J3 to cpm[uter via usb.The lost text messages can be scanned,and you can recover them.
Please don't worry, you can recover deleted text messages from samsung j3 before they are overwritten by new data. First use Android data recovery tool to scan your samsung j3. If the deleted text messages can be scanned out, you can easily recover them back. If no, there is no way to get them back without backup.