Not that much of an issue
get it checked by any good denter of a person who deals in doors and lock repairings.
Possible reasons could be
1: The doors need alligning
2: Pins present in the door hinges may have worn out and might be needing repairs/replacement