It is widely accepted that using GOTO is bad programming practice. But, that doesn't mean you can't use it.
The great thing about programming is that there are many ways to do things.
I have never written a program that has used GOTO. I was taught it was bad practice and have yet to encounter a situation where it was necessary.
It was common to use in old languages like COBOL and commonly created spaghetti code. However, programmers are equally capable of writing unintelligible code without it.