There were a many number of ways. The most popular are sit-ins.
Explanation:
On February 1, 1960, African American college students went to the local segregated Woolworth's store and asked for coffee. The refused to leave until they were served. The were beaten and heckled by both employees and other customers. Slowly but surely, restaurants across the south began to desegregate
Forms of protest and or civil disobedience included boycotts, such as the successful Montgomery bus boycott (1955–56) in Alabama; "sit-ins" such as the Greensboro sit-ins (1960) in North Carolina and successful Nashville sit-ins in Tennessee; marches, such as the 1963 Birmingham Children's Crusade and 1965 Selma to Montgomery marches (1965) in Alabama; and a wide range of other nonviolent activities.