The most important and relevant thing to understand is that brokers offering leverage above 1:50 in the US or above 1:30 anywhere else are by definition the ones that chose to avoid proper regulation, and the risk there comes primarily from what that tells you about who they are, what customers they want, and how they do business, rather than from the leverage itself.
Regarding the leverage itself, it’s a confusing subject for most beginners! But fortunately, @Clint has kindly posted a lot of very helpful, simple information about leverage, here. Answering exactly your question and many closely related ones. These two links are just a “starter”!