How to deal with an ex friend??

I’ve been having issues w a friend and I’m thinking of blocking them for good BUTTTTTT they’re in my class this year and seeing them everyday is going to be awkward so idk what I should dooooo

Any tips???