A motorcycle's frame is its foundation. It's what other integral components are connected to and as such, you need to ensure it remains in good condition. If it ever gets damaged and you're approaching repairs, utilize the following protocol as best you can.
Avoid Riding If Structural Issues Are Severe
If the problem with your motorcycle frame is structural, then you want to be very careful because if you were to ride the bike in a bad state, you could do serious harm to the bike and yourself during a ride.