Welcome to Health Care Magic
can both be from a common cause - auto immune disease...
Check with your endocrinologist
Dermatologic opinion / biopsy
and so on may be necessary can help...
You have not stated your age, gender, personal habits, family history or co-morbidities
Weight is like bank account. The amount in your account comes down when you withdraw more (physical work) and you deposit less (eat less). If the weight is picking up, it only means – the exercise is not enough or the food is more. See a good dietician - you have to reduce the quantity of your food and change the quality too. You need regular exercise.
Wishing speedy recovery