MuseScore -- Index -- Repeats

The start and end of simple repeats can be defined by setting appropriate bar lines. In the last measure of a repeat you can set the property "Repeat Count" to define the number of played repeats.

See also: Volta for first and second endings