My partner and I have ended our relationship. Does this affect my visa status?

My partner and I have ended our relationship. Depending on the type of visa you have, this might affect your visa status.