i think i might have a problem...

so last night i was out with some friends and my ex was there and he sat next to me and we talked and i think my feelings never went away, or if they did they sure did come back last night. i don't know what to do!! does anyone have any advice?