Safety for LGBTQ+ travelers really depends on the destination, and it is worth separating the legal picture from the social one. Some countries have full legal equality and visible queer communities, others are legally neutral but socially conservative, and a minority still criminalize same-sex relationships. The same country can also feel very different in its capital versus rural areas.
Even in accepting places, most LGBTQ+ travelers find that big cities, tourist zones and international hotels are relaxed, while small towns call for more discretion. Public displays of affection are the main flashpoint; behaviour that draws no attention at home can attract stares or worse elsewhere.
Before booking, read your own government's travel advisory for the destination, which usually has a specific section for LGBTQ+ travelers, and look at recent community forums for on-the-ground experiences. Booking hotels rather than shared homestays, being mindful on dating apps, and keeping documentation consistent with your appearance if you are trans are the practical steps most people take.